Documentation ¶
Index ¶
Constants ¶
View Source
const ( // I know this could be iota but this is way more readable :) UnknownSlot = -1 Amulet = 0 Arm = 1 Head = 2 Leg = 3 RingLeft = 4 RingRight = 5 Torso = 6 WeaponLeft = 7 WeaponRight = 8 )
Constants for all the item slots. They can be converted to and from strings. UnknownSlot is treated as an invalid slot and used in error cases.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Equipment ¶
type Equipment struct { Name string `yaml:"Name"` FolderPath string `yaml:"FolderPath"` TablePath string `yaml:"TablePath"` Items []Item `yaml:"Items"` }
Equipment is an entire equipment of a Titan Quest char plus all metadata for filesystem storage
type Item ¶
type Item struct { SlotIdentifier string `yaml:"SlotIdentifier"` BaseName string `yaml:"BaseName"` BaseRecord string `yaml:"BaseRecord"` PrefixName string `yaml:"PrefixName"` PrefixRecord string `yaml:"PrefixRecord"` SuffixName string `yaml:"SuffixName"` SuffixRecord string `yaml:"SuffixRecord"` }
Item holds all references to item configuration. Also this is used to represent the config structure.
Click to show internal directories.
Click to hide internal directories.