Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mod ¶
type Mod struct {
Name string
Path string
Game game.Game
Source string
// contains filtered or unexported fields
}
Mod package. Implements pkg.Package.
func FromSource ¶
FromSource creates a mod that installed from the specified source.
func (Mod) Dependencies ¶
Dependencies of a mod including indirect ones.
func (Mod) Installed ¶
Installed checks if the mod exists or not by checking if it's package.json exists.
func (Mod) NewestDependencies ¶
NewestDependencies of a mod including indirect ones.
type Package ¶
type Package struct {
Name string `json:"name"`
Description string `json:"description"`
Version string `json:"version"`
Licence string `json:"licence"`
Dependencies map[string]string `json:"ccmodDependencies"`
Hidden bool `json:"hidden"`
}
Package represents the data inside package.json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.