Documentation ¶
Index ¶
Constants ¶
View Source
const ( ItemTypeMod = "mod" ItemTypeMap = "map" ConfigFilename = "Config.yaml" )
Variables ¶
This section is empty.
Functions ¶
func InstallItems ¶
func InstallItems(bf2InstallPath string, items []InstallItem) error
func UninstallItems ¶
func UninstallItems(bf2InstallPath string, items []InstallItem) error
Types ¶
type Config ¶
type Config struct {
InstallItems []InstallItem `yaml:"items"`
}
func LoadConfig ¶
func (*Config) GetItemOfType ¶
func (c *Config) GetItemOfType(itemType ItemType) []InstallItem
type InstallItem ¶
Click to show internal directories.
Click to hide internal directories.