Documentation ¶
Index ¶
- Constants
- Variables
- func InitHelper[T msgp.Decodable](version string, name string, target *[]T, onInit func(count int64), ...) error
- func InitializeActiveSkillTypes(version string) error
- func InitializeActiveSkills(version string) error
- func InitializeAll(version string, updateFunc UpdateFunc) error
- func InitializeAlternatePassiveAdditions(version string) error
- func InitializeAlternatePassiveSkills(version string) error
- func InitializeArmourTypes(version string) error
- func InitializeBaseItemTypes(version string) error
- func InitializeComponentAttributeRequirements(version string) error
- func InitializeComponentCharges(version string) error
- func InitializeCostTypes(version string) error
- func InitializeCraftingBenchOptions(version string) error
- func InitializeDefaultMonsterStats(version string) error
- func InitializeEssences(version string) error
- func InitializeFlasks(version string) error
- func InitializeGrantedEffectQualityStats(version string) error
- func InitializeGrantedEffectStatSets(version string) error
- func InitializeGrantedEffectStatSetsPerLevels(version string) error
- func InitializeGrantedEffects(version string) error
- func InitializeGrantedEffectsPerLevels(version string) error
- func InitializeItemClasses(version string) error
- func InitializeItemExperiencePerLevels(version string) error
- func InitializeMods(version string) error
- func InitializeMonsterMapBossDifficulties(version string) error
- func InitializeMonsterMapDifficulties(version string) error
- func InitializeMonsterVarieties(version string) error
- func InitializePantheonPanelLayouts(version string) error
- func InitializePassiveTreeExpansionJewels(version string) error
- func InitializePassiveTreeExpansionSkills(version string) error
- func InitializePassiveTreeExpansionSpecialSkills(version string) error
- func InitializeShieldTypes(version string) error
- func InitializeSkillGems(version string) error
- func InitializeSkillTotemVariations(version string) error
- func InitializeSkillTotems(version string) error
- func InitializeStats(version string) error
- func InitializeTags(version string) error
- func InitializeWeaponTypes(version string) error
- func LoadRaw[T msgp.Decodable](version string, name string, onInit func(count int64), hooks ...func(obj T)) ([]T, error)
- type ActiveSkill
- type ActiveSkillType
- type AlternatePassiveAddition
- type AlternatePassiveSkill
- type ArmourType
- type BaseItemType
- type CalculatedLevel
- type ComponentAttributeRequirement
- type ComponentCharge
- type CostType
- type CraftingBenchOption
- type DefaultMonsterStat
- type Essence
- type Flask
- type GrantedEffect
- func (g *GrantedEffect) Calculate()
- func (g *GrantedEffect) GetActiveSkill() *ActiveSkill
- func (g *GrantedEffect) GetCalculatedConstantStats() map[string]float64
- func (g *GrantedEffect) GetCalculatedLevels() map[int]*CalculatedLevel
- func (g *GrantedEffect) GetCalculatedStatMap() *cache.ComputationCache[string, *StatMap]
- func (g *GrantedEffect) GetCalculatedStats() []string
- func (g *GrantedEffect) GetEffectQualityStats() map[int]*GrantedEffectQualityStat
- func (g *GrantedEffect) GetEffectStatSetsPerLevel() map[int]*GrantedEffectStatSetsPerLevel
- func (g *GrantedEffect) GetEffectsPerLevel() map[int]*GrantedEffectsPerLevel
- func (g *GrantedEffect) GetExcludeTypes() []*ActiveSkillType
- func (g *GrantedEffect) GetGrantedEffectStatSet() *GrantedEffectStatSet
- func (g *GrantedEffect) GetSkillGem() *SkillGem
- func (g *GrantedEffect) GetSupportTypes() []*ActiveSkillType
- func (g *GrantedEffect) HasGlobalEffect() bool
- func (g *GrantedEffect) Levels() map[int]*GrantedEffectsPerLevel
- type GrantedEffectQualityStat
- type GrantedEffectStatSet
- type GrantedEffectStatSetsPerLevel
- type GrantedEffectsPerLevel
- type InitFunction
- type ItemClass
- type ItemExperiencePerLevel
- type Mod
- type MonsterMapBossDifficulty
- type MonsterMapDifficulty
- type MonsterVariety
- type PantheonPanelLayout
- type PassiveTreeExpansionJewel
- type PassiveTreeExpansionSkill
- type PassiveTreeExpansionSpecialSkill
- type ShieldType
- type SkillGem
- func (s *SkillGem) DefaultLevel() int
- func (s *SkillGem) GetBaseItemType() *BaseItemType
- func (s *SkillGem) GetGrantedEffect() *GrantedEffect
- func (s *SkillGem) GetGrantedEffects() []*GrantedEffect
- func (s *SkillGem) GetNonVaal() *SkillGem
- func (s *SkillGem) GetSecondaryGrantedEffect() *GrantedEffect
- func (s *SkillGem) GetTags() map[raw2.TagName]*Tag
- type SkillTotem
- type SkillTotemVariation
- type Stat
- type StatMap
- type Tag
- type UpdateFunc
- type WeaponType
Constants ¶
View Source
const LatestVersion = "3.18"
Variables ¶
View Source
var ActiveSkillTypes []*ActiveSkillType
View Source
var ActiveSkills []*ActiveSkill
View Source
var AlternatePassiveAdditions []*AlternatePassiveAddition
View Source
var AlternatePassiveSkills []*AlternatePassiveSkill
View Source
var ArmourTypes []*ArmourType
View Source
var BaseItemTypeByIDMap map[string]*BaseItemType
View Source
var BaseItemTypes []*BaseItemType
View Source
var ComponentAttributeRequirements []*ComponentAttributeRequirement
View Source
var ComponentCharges []*ComponentCharge
View Source
var CostTypes []*CostType
View Source
var CraftingBenchOptions []*CraftingBenchOption
View Source
var DefaultMonsterStats []*DefaultMonsterStat
View Source
var Essences []*Essence
View Source
var Flasks []*Flask
View Source
var GrantedEffectQualityStats []*GrantedEffectQualityStat
View Source
var GrantedEffectStatSets []*GrantedEffectStatSet
View Source
var GrantedEffectStatSetsPerLevels []*GrantedEffectStatSetsPerLevel
View Source
var GrantedEffects []*GrantedEffect
View Source
var GrantedEffectsPerLevels []*GrantedEffectsPerLevel
View Source
var ItemClasses []*ItemClass
View Source
var ItemExperiencePerLevels []*ItemExperiencePerLevel
View Source
var Mods []*Mod
View Source
var MonsterMapBossDifficulties []*MonsterMapBossDifficulty
View Source
var MonsterMapDifficulties []*MonsterMapDifficulty
View Source
var MonsterVarieties []*MonsterVariety
View Source
var PantheonPanelLayouts []*PantheonPanelLayout
View Source
var PassiveTreeExpansionJewels []*PassiveTreeExpansionJewel
View Source
var PassiveTreeExpansionSkills []*PassiveTreeExpansionSkill
View Source
var PassiveTreeExpansionSpecialSkills []*PassiveTreeExpansionSpecialSkill
View Source
var ShieldTypes []*ShieldType
View Source
var SkillGems []*SkillGem
View Source
var SkillStatMap = map[string]*StatMap{ "spell_minimum_base_fire_damage": { Mods: []mod.Mod{skill("FireMin", 0)}, }, "spell_maximum_base_fire_damage": { Mods: []mod.Mod{skill("FireMax", 0)}, }, "global_minimum_added_cold_damage": { Mods: []mod.Mod{mod.NewFloat("ColdMin", mod.TypeBase, 0)}, }, "global_maximum_added_cold_damage": { Mods: []mod.Mod{mod.NewFloat("ColdMax", mod.TypeBase, 0)}, }, "base_chance_to_ignite": { Mods: []mod.Mod{mod.NewFloat("EnemyIgniteChance", mod.TypeBase, 0)}, }, }
View Source
var SkillTotemVariations []*SkillTotemVariation
View Source
var SkillTotems []*SkillTotem
View Source
var Stats []*Stat
View Source
var Tags []*Tag
View Source
var WeaponTypes []*WeaponType
Functions ¶
func InitHelper ¶
func InitializeActiveSkills ¶
func InitializeAll ¶
func InitializeAll(version string, updateFunc UpdateFunc) error
func InitializeArmourTypes ¶
func InitializeBaseItemTypes ¶
func InitializeCostTypes ¶
func InitializeEssences ¶
func InitializeFlasks ¶
func InitializeItemClasses ¶
func InitializeMods ¶
func InitializeShieldTypes ¶
func InitializeSkillGems ¶
func InitializeSkillTotems ¶
func InitializeStats ¶
func InitializeTags ¶
func InitializeWeaponTypes ¶
Types ¶
type ActiveSkill ¶
type ActiveSkill struct {
raw2.ActiveSkill
}
func (*ActiveSkill) GetActiveSkillTypes ¶
func (g *ActiveSkill) GetActiveSkillTypes() []*ActiveSkillType
func (*ActiveSkill) GetWeaponRestrictions ¶
func (g *ActiveSkill) GetWeaponRestrictions() []*ItemClass
type ActiveSkillType ¶
type ActiveSkillType struct {
raw2.ActiveSkillType
}
type AlternatePassiveAddition ¶
type AlternatePassiveAddition struct {
raw2.AlternatePassiveAddition
}
type AlternatePassiveSkill ¶
type AlternatePassiveSkill struct {
raw2.AlternatePassiveSkill
}
type ArmourType ¶
type ArmourType struct {
raw2.ArmourType
}
type BaseItemType ¶
type BaseItemType struct {
raw2.BaseItemType
}
func (*BaseItemType) SkillGem ¶
func (b *BaseItemType) SkillGem() *SkillGem
type CalculatedLevel ¶
type CalculatedLevel struct { Level int Values []float64 Cost map[string]int StatInterpolation []int LevelRequirement int ManaReservationFlat *float64 ManaReservationPercent *float64 LifeReservationFlat *float64 LifeReservationPercent *float64 ManaMultiplier *float64 DamageEffectiveness *float64 CritChance *float64 BaseMultiplier *float64 AttackSpeedMultiplier *float64 AttackTime *float64 Cooldown *float64 SoulCost *float64 SkillUseStorage *float64 SoulPreventionDuration *float64 }
type ComponentAttributeRequirement ¶
type ComponentAttributeRequirement struct {
raw2.ComponentAttributeRequirement
}
type ComponentCharge ¶
type ComponentCharge struct {
raw2.ComponentCharge
}
type CraftingBenchOption ¶
type CraftingBenchOption struct {
raw2.CraftingBenchOption
}
type DefaultMonsterStat ¶
type DefaultMonsterStat struct {
raw2.DefaultMonsterStat
}
type GrantedEffect ¶
type GrantedEffect struct { raw2.GrantedEffect // contains filtered or unexported fields }
func GrantedEffectByID ¶
func GrantedEffectByID(id string) *GrantedEffect
func (*GrantedEffect) Calculate ¶
func (g *GrantedEffect) Calculate()
func (*GrantedEffect) GetActiveSkill ¶
func (g *GrantedEffect) GetActiveSkill() *ActiveSkill
func (*GrantedEffect) GetCalculatedConstantStats ¶
func (g *GrantedEffect) GetCalculatedConstantStats() map[string]float64
func (*GrantedEffect) GetCalculatedLevels ¶
func (g *GrantedEffect) GetCalculatedLevels() map[int]*CalculatedLevel
func (*GrantedEffect) GetCalculatedStatMap ¶
func (g *GrantedEffect) GetCalculatedStatMap() *cache.ComputationCache[string, *StatMap]
func (*GrantedEffect) GetCalculatedStats ¶
func (g *GrantedEffect) GetCalculatedStats() []string
func (*GrantedEffect) GetEffectQualityStats ¶
func (g *GrantedEffect) GetEffectQualityStats() map[int]*GrantedEffectQualityStat
func (*GrantedEffect) GetEffectStatSetsPerLevel ¶
func (g *GrantedEffect) GetEffectStatSetsPerLevel() map[int]*GrantedEffectStatSetsPerLevel
func (*GrantedEffect) GetEffectsPerLevel ¶
func (g *GrantedEffect) GetEffectsPerLevel() map[int]*GrantedEffectsPerLevel
func (*GrantedEffect) GetExcludeTypes ¶
func (g *GrantedEffect) GetExcludeTypes() []*ActiveSkillType
func (*GrantedEffect) GetGrantedEffectStatSet ¶
func (g *GrantedEffect) GetGrantedEffectStatSet() *GrantedEffectStatSet
func (*GrantedEffect) GetSkillGem ¶
func (g *GrantedEffect) GetSkillGem() *SkillGem
func (*GrantedEffect) GetSupportTypes ¶
func (g *GrantedEffect) GetSupportTypes() []*ActiveSkillType
func (*GrantedEffect) HasGlobalEffect ¶
func (g *GrantedEffect) HasGlobalEffect() bool
func (*GrantedEffect) Levels ¶
func (g *GrantedEffect) Levels() map[int]*GrantedEffectsPerLevel
type GrantedEffectQualityStat ¶
type GrantedEffectQualityStat struct {
raw2.GrantedEffectQualityStat
}
func (*GrantedEffectQualityStat) GetStats ¶
func (s *GrantedEffectQualityStat) GetStats() []*Stat
type GrantedEffectStatSet ¶
type GrantedEffectStatSet struct {
raw2.GrantedEffectStatSet
}
func (*GrantedEffectStatSet) GetConstantStats ¶
func (g *GrantedEffectStatSet) GetConstantStats() []*Stat
func (*GrantedEffectStatSet) GetImplicitStats ¶
func (g *GrantedEffectStatSet) GetImplicitStats() []*Stat
type GrantedEffectStatSetsPerLevel ¶
type GrantedEffectStatSetsPerLevel struct {
raw2.GrantedEffectStatSetsPerLevel
}
func (*GrantedEffectStatSetsPerLevel) GetAdditionalBooleanStats ¶
func (g *GrantedEffectStatSetsPerLevel) GetAdditionalBooleanStats() []*Stat
func (*GrantedEffectStatSetsPerLevel) GetAdditionalStats ¶
func (g *GrantedEffectStatSetsPerLevel) GetAdditionalStats() []*Stat
func (*GrantedEffectStatSetsPerLevel) GetFloatStats ¶
func (g *GrantedEffectStatSetsPerLevel) GetFloatStats() []*Stat
type GrantedEffectsPerLevel ¶
type GrantedEffectsPerLevel struct {
raw2.GrantedEffectsPerLevel
}
func (*GrantedEffectsPerLevel) GetCostTypes ¶
func (l *GrantedEffectsPerLevel) GetCostTypes() []*CostType
type InitFunction ¶
type ItemExperiencePerLevel ¶
type ItemExperiencePerLevel struct {
raw2.ItemExperiencePerLevel
}
type MonsterMapBossDifficulty ¶
type MonsterMapBossDifficulty struct {
raw2.MonsterMapBossDifficulty
}
type MonsterMapDifficulty ¶
type MonsterMapDifficulty struct {
raw2.MonsterMapDifficulty
}
type MonsterVariety ¶
type MonsterVariety struct {
raw2.MonsterVariety
}
type PantheonPanelLayout ¶
type PantheonPanelLayout struct {
raw2.PantheonPanelLayout
}
type PassiveTreeExpansionJewel ¶
type PassiveTreeExpansionJewel struct {
raw2.PassiveTreeExpansionJewel
}
type PassiveTreeExpansionSkill ¶
type PassiveTreeExpansionSkill struct {
raw2.PassiveTreeExpansionSkill
}
type PassiveTreeExpansionSpecialSkill ¶
type PassiveTreeExpansionSpecialSkill struct {
raw2.PassiveTreeExpansionSpecialSkill
}
type ShieldType ¶
type ShieldType struct {
raw2.ShieldType
}
type SkillGem ¶
func (*SkillGem) DefaultLevel ¶
func (*SkillGem) GetBaseItemType ¶
func (s *SkillGem) GetBaseItemType() *BaseItemType
func (*SkillGem) GetGrantedEffect ¶
func (s *SkillGem) GetGrantedEffect() *GrantedEffect
func (*SkillGem) GetGrantedEffects ¶
func (s *SkillGem) GetGrantedEffects() []*GrantedEffect
func (*SkillGem) GetNonVaal ¶
func (*SkillGem) GetSecondaryGrantedEffect ¶
func (s *SkillGem) GetSecondaryGrantedEffect() *GrantedEffect
type SkillTotem ¶
type SkillTotem struct {
raw2.SkillTotem
}
type SkillTotemVariation ¶
type SkillTotemVariation struct {
raw2.SkillTotemVariation
}
type UpdateFunc ¶
type UpdateFunc func(data string)
type WeaponType ¶
type WeaponType struct {
raw2.WeaponType
}
Source Files ¶
- active_skill_type.go
- active_skills.go
- alternate_passive_additions.go
- alternate_passive_skills.go
- armour_types.go
- base_item_types.go
- component_attribute_requirements.go
- component_charges.go
- cost_types.go
- crafting_bench_options.go
- default_monster_stats.go
- essences.go
- flasks.go
- granted_effect_quality_stats.go
- granted_effect_stat_sets.go
- granted_effect_stat_sets_per_level.go
- granted_effects.go
- granted_effects_per_level.go
- item_classes.go
- item_experience_per_level.go
- loader.go
- main.go
- mods.go
- monster_map_boss_difficulty.go
- monster_map_difficulty.go
- monster_varieties.go
- pantheon_panel_layout.go
- passive_tree_expansion_jewels.go
- passive_tree_expansion_skills.go
- passive_tree_expansion_special_skills.go
- shield_types.go
- skill_gems.go
- skill_stat_map.go
- skill_totem_variations.go
- skill_totems.go
- stats.go
- tags.go
- weapon_types.go
Click to show internal directories.
Click to hide internal directories.