Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChaoMap = enums.ChaoNameMap
View Source
var CharacterMap = map[string]string{ "sonic": enums.CTStrSonic, "tails": enums.CTStrTails, "knuckles": enums.CTStrTails, "amy": enums.CTStrAmy, "shadow": enums.CTStrShadow, "blaze": enums.CTStrBlaze, "rouge": enums.CTStrRouge, "omega": enums.CTStrOmega, "big": enums.CTStrBig, "cream": enums.CTStrCream, "espio": enums.CTStrEspio, "charmy": enums.CTStrCharmy, "vector": enums.CTStrVector, "silver": enums.CTStrSilver, "metalSonic": enums.CTStrMetalSonic, "classicSonic": enums.CTStrClassicSonic, "werehog": enums.CTStrWerehog, "sticks": enums.CTStrSticks, "tikal": enums.CTStrTikal, "mephiles": enums.CTStrMephiles, "psiSilver": enums.CTStrPSISilver, "espSilver": enums.CTStrPSISilver, "amitieAmy": enums.CTStrAmitieAmy, "gothicAmy": enums.CTStrGothicAmy, "halloweenShadow": enums.CTStrHalloweenShadow, "halloweenRouge": enums.CTStrHalloweenRouge, "halloweenOmega": enums.CTStrHalloweenOmega, "xmasSonic": enums.CTStrXMasSonic, "xmasTails": enums.CTStrXMasTails, "xmasKnuckles": enums.CTStrXMasKnuckles, "empty": "-1", "none": "-1", }
View Source
var Defaults = map[string]interface{}{ "DAllCharactersUnlocked": true, "DAllChaoUnlocked": true, "DDefaultMainCharacter": "sonic", "DDefaultSubCharacter": "empty", "DDefaultMainChao": "empty", "DDefaultSubChao": "empty", "DStartingRings": int64(5000), "DStartingRedRings": int64(25), "DStartingEnergy": int64(5), "DAllItemsFree": true, "DEnableEnergyConsumption": false, }
defaults
Functions ¶
Types ¶
type ConfigFile ¶
type ConfigFile struct { AllCharactersUnlocked bool `json:"allCharactersUnlocked,omitempty"` AllChaoUnlocked bool `json:"allChaoUnlocked,omitempty"` DefaultMainCharacter string `json:"defaultMainCharacter,omitempty"` DefaultSubCharacter string `json:"defaultSubCharacter,omitempty"` DefaultMainChao string `json:"defaultMainChao,omitempty"` DefaultSubChao string `json:"defaultSubChao,omitempty"` StartingRings int64 `json:"startingRings,omitempty"` StartingRedRings int64 `json:"startingRedRings,omitempty"` StartingEnergy int64 `json:"startingEnergy,omitempty"` AllItemsFree bool `json:"allItemsFree,omitempty"` EnableEnergyConsumption bool `json:"enableEnergyConsumption,omitempty"` }
var CFile ConfigFile
Click to show internal directories.
Click to hide internal directories.