Documentation
¶
Index ¶
- Constants
- func CompressEncode(xml string) (string, error)
- func DecodeDecompress(code string) (string, error)
- type Build
- type BuildViewMode
- type Calcs
- type Config
- type Gem
- type Input
- type ItemSet
- type Items
- type PathOfBuilding
- func (b *PathOfBuilding) AddNewSocketGroup()
- func (b *PathOfBuilding) AllocateNodes(nodeIds []int64)
- func (b *PathOfBuilding) DeallocateNodes(nodeIds []int64)
- func (b *PathOfBuilding) DeleteAllSocketGroups()
- func (b *PathOfBuilding) DeleteSocketGroup(index int)
- func (b *PathOfBuilding) GetBooleanOption(name string) bool
- func (b *PathOfBuilding) GetNumberOption(name string) float64
- func (b *PathOfBuilding) GetStringOption(name string) string
- func (b *PathOfBuilding) RemoveConfigOption(name string)
- func (b *PathOfBuilding) SetAscendancy(ascendancy string)
- func (b *PathOfBuilding) SetClass(clazz string)
- func (b *PathOfBuilding) SetConfigOption(value Input)
- func (b *PathOfBuilding) SetDefaultGemLevel(gemLevel int)
- func (b *PathOfBuilding) SetDefaultGemQuality(gemQuality int)
- func (b *PathOfBuilding) SetLevel(level int)
- func (b *PathOfBuilding) SetMainSocketGroup(mainSocketGroup int)
- func (b *PathOfBuilding) SetMatchGemLevelToCharacterLevel(enabled bool)
- func (b *PathOfBuilding) SetShowAltQualityGems(enabled bool)
- func (b *PathOfBuilding) SetShowSupportGemTypes(gemTypes string)
- func (b *PathOfBuilding) SetSkillGroupName(skillSet int, socketGroup int, label string)
- func (b *PathOfBuilding) SetSocketGroupGems(skillSet int, socketGroup int, gems []Gem)
- func (b *PathOfBuilding) SetSortGemsByDPS(enabled bool)
- func (b *PathOfBuilding) SetSortGemsByDPSField(field string)
- func (b *PathOfBuilding) WithMainSocketGroup(mainSocketGroup int) *PathOfBuilding
- type PlayerStat
- type Results
- type Section
- type Skill
- type SkillSet
- type Skills
- type Slot
- type Spec
- type Tree
- type TreeView
Constants ¶
View Source
const ( ViewModeTree = BuildViewMode("TREE") ViewModeItems = BuildViewMode("ITEMS") ViewModeImport = BuildViewMode("IMPORT") ViewModeNotes = BuildViewMode("NOTES") ViewModeConfig = BuildViewMode("CONFIG") ViewModeSkills = BuildViewMode("SKILLS") ViewModeCalc = BuildViewMode("CALC") )
Variables ¶
This section is empty.
Functions ¶
func CompressEncode ¶
func DecodeDecompress ¶
Types ¶
type Build ¶
type Build struct { PantheonMinorGod string `xml:"pantheonMinorGod,attr"` // TODO Enum PantheonMajorGod string `xml:"pantheonMajorGod,attr"` // TODO Enum Bandit string `xml:"bandit,attr"` // TODO Enum ViewMode BuildViewMode `xml:"viewMode,attr"` ClassName string `xml:"className,attr"` // TODO Enum AscendClassName string `xml:"ascendClassName,attr"` // TODO Enum Level int `xml:"level,attr"` MainSocketGroup int `xml:"mainSocketGroup,attr"` TargetVersion data.GameVersion `xml:"targetVersion,attr"` PassiveNodes []int64 PassiveNodesStartPaths map[int64][]int64 PlayerStats []PlayerStat `xml:"PlayerStat" crystalline:"not_nil"` }
type BuildViewMode ¶
type BuildViewMode string
type Gem ¶
type Gem struct { Quality int `xml:"quality,attr"` SkillPart int `xml:"skillPart,attr"` EnableGlobal2 bool `xml:"enableGlobal2,attr"` SkillPartCalcs int `xml:"skillPartCalcs,attr"` QualityID string `xml:"qualityId,attr"` GemID string `xml:"gemId,attr"` Enabled bool `xml:"enabled,attr"` Count int `xml:"count,attr"` EnableGlobal1 bool `xml:"enableGlobal1,attr"` NameSpec string `xml:"nameSpec,attr"` Level int `xml:"level,attr"` SkillID string `xml:"skillId,attr"` SkillMinionItemSet int `xml:"skillMinionItemSet,attr"` SkillMinion string `xml:"skillMinion,attr"` }
type PathOfBuilding ¶
type PathOfBuilding struct { Build Build `xml:"Build"` Tree Tree `xml:"Tree"` Calcs Calcs `xml:"Calcs"` Notes string `xml:"Notes"` Items Items `xml:"Items"` Skills Skills `xml:"Skills"` TreeView TreeView `xml:"TreeView"` Config Config `xml:"Config"` }
func (*PathOfBuilding) AddNewSocketGroup ¶
func (b *PathOfBuilding) AddNewSocketGroup()
func (*PathOfBuilding) AllocateNodes ¶
func (b *PathOfBuilding) AllocateNodes(nodeIds []int64)
func (*PathOfBuilding) DeallocateNodes ¶
func (b *PathOfBuilding) DeallocateNodes(nodeIds []int64)
func (*PathOfBuilding) DeleteAllSocketGroups ¶
func (b *PathOfBuilding) DeleteAllSocketGroups()
func (*PathOfBuilding) DeleteSocketGroup ¶
func (b *PathOfBuilding) DeleteSocketGroup(index int)
func (*PathOfBuilding) GetBooleanOption ¶
func (b *PathOfBuilding) GetBooleanOption(name string) bool
func (*PathOfBuilding) GetNumberOption ¶
func (b *PathOfBuilding) GetNumberOption(name string) float64
func (*PathOfBuilding) GetStringOption ¶
func (b *PathOfBuilding) GetStringOption(name string) string
func (*PathOfBuilding) RemoveConfigOption ¶
func (b *PathOfBuilding) RemoveConfigOption(name string)
func (*PathOfBuilding) SetAscendancy ¶
func (b *PathOfBuilding) SetAscendancy(ascendancy string)
func (*PathOfBuilding) SetClass ¶
func (b *PathOfBuilding) SetClass(clazz string)
func (*PathOfBuilding) SetConfigOption ¶
func (b *PathOfBuilding) SetConfigOption(value Input)
func (*PathOfBuilding) SetDefaultGemLevel ¶
func (b *PathOfBuilding) SetDefaultGemLevel(gemLevel int)
func (*PathOfBuilding) SetDefaultGemQuality ¶
func (b *PathOfBuilding) SetDefaultGemQuality(gemQuality int)
func (*PathOfBuilding) SetLevel ¶
func (b *PathOfBuilding) SetLevel(level int)
func (*PathOfBuilding) SetMainSocketGroup ¶
func (b *PathOfBuilding) SetMainSocketGroup(mainSocketGroup int)
func (*PathOfBuilding) SetMatchGemLevelToCharacterLevel ¶
func (b *PathOfBuilding) SetMatchGemLevelToCharacterLevel(enabled bool)
func (*PathOfBuilding) SetShowAltQualityGems ¶
func (b *PathOfBuilding) SetShowAltQualityGems(enabled bool)
func (*PathOfBuilding) SetShowSupportGemTypes ¶
func (b *PathOfBuilding) SetShowSupportGemTypes(gemTypes string)
func (*PathOfBuilding) SetSkillGroupName ¶
func (b *PathOfBuilding) SetSkillGroupName(skillSet int, socketGroup int, label string)
func (*PathOfBuilding) SetSocketGroupGems ¶
func (b *PathOfBuilding) SetSocketGroupGems(skillSet int, socketGroup int, gems []Gem)
func (*PathOfBuilding) SetSortGemsByDPS ¶
func (b *PathOfBuilding) SetSortGemsByDPS(enabled bool)
func (*PathOfBuilding) SetSortGemsByDPSField ¶
func (b *PathOfBuilding) SetSortGemsByDPSField(field string)
func (*PathOfBuilding) WithMainSocketGroup ¶
func (b *PathOfBuilding) WithMainSocketGroup(mainSocketGroup int) *PathOfBuilding
type PlayerStat ¶
type Skill ¶
type Skill struct { MainActiveSkillCalcs int `xml:"mainActiveSkillCalcs,attr"` MainActiveSkill int `xml:"mainActiveSkill,attr"` Label string `xml:"label,attr"` Enabled bool `xml:"enabled,attr"` IncludeInFullDPS *bool `xml:"includeInFullDPS,attr,omitempty"` Gems []Gem `xml:"Gem" crystalline:"not_nil"` Slot string // TODO Slot SlotEnabled bool Source interface{} // TODO Source DisplayLabel string DisplaySkillList interface{} DisplaySkillListCalcs interface{} }
type Skills ¶
type Skills struct { SortGemsByDPSField string `xml:"sortGemsByDPSField,attr"` // TODO Enum ShowSupportGemTypes string `xml:"showSupportGemTypes,attr"` // TODO Enum DefaultGemLevel *string `xml:"defaultGemLevel,attr,omitempty"` MatchGemLevelToCharacterLevel bool `xml:"matchGemLevelToCharacterLevel,attr"` ShowAltQualityGems bool `xml:"showAltQualityGems,attr"` DefaultGemQuality *int `xml:"defaultGemQuality,attr,omitempty"` ActiveSkillSet int `xml:"activeSkillSet,attr"` SortGemsByDPS bool `xml:"sortGemsByDPS,attr"` SkillSets []SkillSet `xml:"SkillSet" crystalline:"not_nil"` }
type Spec ¶
type Spec struct { ClassID int `xml:"classID,attr"` // TODO Enum AscendClassID int `xml:"ascendClassID,attr"` // TODO Enum TreeVersion data.TreeVersion `xml:"treeVersion,attr"` // TODO Enum NodesAttr string `xml:"nodes,attr"` MasteryEffects string `xml:"masteryEffects,attr"` URL string `xml:"URL"` }
Click to show internal directories.
Click to hide internal directories.