Documentation ¶
Index ¶
- Constants
- type Dependency
- type LoadsDiablo2Records
- type Service
- func (s *Service) AutoMapEntries() []models.AutoMapEntry
- func (s *Service) Belts() []models.BeltData
- func (s *Service) Books() []models.Book
- func (s *Service) CharStartingAttributes() []models.CharStats
- func (s *Service) CubeRecipes() []models.CubeRecipe
- func (s *Service) DependenciesResolved() bool
- func (s *Service) DifficultyLevels() []models.Difficultylevel
- func (s *Service) ExperienceBreakpoints() []models.ExperienceData
- func (s *Service) ExportToLua(state *lua.LState)
- func (s *Service) GambleRecords() []models.GambleRecord
- func (s *Service) Gems() []models.GemData
- func (s *Service) HirelingDescriptions() []models.HirelingDescription
- func (s *Service) Hirelings() []models.Hireling
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) InitRoutes(group *gin.RouterGroup)
- func (s *Service) Inventory() []models.InventoryData
- func (s *Service) IsLoaded() bool
- func (s *Service) ItemArmor() []models.ItemArmor
- func (s *Service) ItemAutoMagic() []models.AutoMagicData
- func (s *Service) ItemHiQualityMods() []models.ItemHighQualityModifiers
- func (s *Service) ItemMisc() []models.MiscItem
- func (s *Service) ItemProperties() []models.ItemProperty
- func (s *Service) ItemRatio() []models.ItemRatio
- func (s *Service) ItemStatCost() []models.ItemStatCost
- func (s *Service) ItemTypes() []models.ItemType
- func (s *Service) ItemUnique() []models.ItemUnique
- func (s *Service) ItemWeapon() []models.ItemWeapon
- func (s *Service) ItemWeaponClass() []models.WeaponClass
- func (s *Service) LevelDetails() []models.LevelData
- func (s *Service) LevelMaze() []models.LevelMazeData
- func (s *Service) LevelPresets() []models.LevelPreset
- func (s *Service) LevelSubstitutions() []models.LevelSubstitutionData
- func (s *Service) LevelType() []models.LevelType
- func (s *Service) LevelWarp() []models.LevelWarp
- func (s *Service) LoadRecords() error
- func (s *Service) Logger() *slog.Logger
- func (s *Service) MagicPrefixes() []models.MagicPrefix
- func (s *Service) MagicSuffixes() []models.MagicSuffix
- func (s *Service) Missiles() []models.Missile
- func (s *Service) MonsterEquipment() []models.MonsterEquipment
- func (s *Service) MonsterLevelStats() []models.MonsterLevelStats
- func (s *Service) MonsterPresets() []models.MonsterPreset
- func (s *Service) MonsterProperties() []models.MonsterProp
- func (s *Service) MonsterSequences() []models.MonsterSequence
- func (s *Service) MonsterSounds() []models.MonsterSounds
- func (s *Service) MonsterStats() []models.MonsterStats
- func (s *Service) MonsterStats2() []models.MonsterStats2
- func (s *Service) MonsterUniqueModifiers() []models.MonsterUniqueModifier
- func (s *Service) MonsterUniqueNames() []models.MonsterUniqueName
- func (s *Service) Name() string
- func (s *Service) NpcTradeRecords() []models.NPCTrade
- func (s *Service) ObjectGroups() []models.ObjectGroup
- func (s *Service) ObjectModes() []models.ObjectMode
- func (s *Service) ObjectTypes() []models.ObjectType
- func (s *Service) Objects() []models.Object
- func (s *Service) Overlays() []models.Overlay
- func (s *Service) PetTypes() []models.PetType
- func (s *Service) RarePrefixes() []models.RarePrefix
- func (s *Service) RareSuffixes() []models.RareSuffix
- func (s *Service) Ready() bool
- func (s *Service) ResolveDependencies(services []servicemesh.Service)
- func (s *Service) Runes() []models.RuneWordData
- func (s *Service) SetBonuses() []models.SetBonusData
- func (s *Service) SetItems() []models.SetItemData
- func (s *Service) SetLogger(logger *slog.Logger)
- func (s *Service) Shrines() []models.Shrine
- func (s *Service) SkillDesc() []models.SkillDescData
- func (s *Service) Skills() []models.SkillData
- func (s *Service) Slug() string
- func (s *Service) SoundEnvironments() []models.SoundEnvironment
- func (s *Service) Sounds() []models.SoundEntry
- func (s *Service) States() []models.State
- func (s *Service) Treasures() []models.TreasureClass
- func (s *Service) TreasuresExpansion() []models.TreasureClassEx
- func (s *Service) UnexportFromLua(state *lua.LState)
- func (s *Service) UniquePrefixes() []models.UniquePrefix
- func (s *Service) UniqueSuffixes() []models.UniqueSuffix
Constants ¶
View Source
const ( PathLevelPreset = "/data/global/excel/LvlPrest.txt" PathLevelType = "/data/global/excel/LvlTypes.txt" PathObjectType = "/data/global/excel/objtype.txt" PathLevelWarp = "/data/global/excel/LvlWarp.txt" PathLevelDetails = "/data/global/excel/Levels.txt" PathLevelMaze = "/data/global/excel/LvlMaze.txt" PathLevelGroups = "/data/global/excel/LevelGroups.txt" PathLevelSubstitutions = "/data/global/excel/LvlSub.txt" PathObjectDetails = "/data/global/excel/Objects.txt" PathObjectMode = "/data/global/excel/ObjMode.txt" PathObjectGroup = "/data/global/excel/objgroup.txt" PathSoundSettings = "/data/global/excel/Sounds.txt" PathItemStatCost = "/data/global/excel/ItemStatCost.txt" PathItemRatio = "/data/global/excel/itemratio.txt" PathItemTypes = "/data/global/excel/ItemTypes.txt" PathQualityItems = "/data/global/excel/qualityitems.txt" PathOverlays = "/data/global/excel/Overlay.txt" PathRunes = "/data/global/excel/runes.txt" PathSets = "/data/global/excel/Sets.txt" PathSetItems = "/data/global/excel/SetItems.txt" PathAutoMagic = "/data/global/excel/automagic.txt" PathProperties = "/data/global/excel/Properties.txt" PathHireling = "/data/global/excel/hireling.txt" PathHirelingDescription = "/data/global/excel/HireDesc.txt" PathDifficultyLevels = "/data/global/excel/difficultylevels.txt" PathAutoMap = "/data/global/excel/AutoMap.txt" PathCubeRecipes = "/data/global/excel/cubemain.txt" PathSkills = "/data/global/excel/skills.txt" PathSkillDesc = "/data/global/excel/skilldesc.txt" PathTreasureClass = "/data/global/excel/TreasureClass.txt" PathTreasureClassEx = "/data/global/excel/TreasureClassEx.txt" PathStates = "/data/global/excel/states.txt" PathSoundEnvirons = "/data/global/excel/soundenviron.txt" PathShrines = "/data/global/excel/shrines.txt" PathPetType = "/data/global/excel/pettype.txt" PathNPC = "/data/global/excel/npc.txt" PathMonsterUniqueModifier = "/data/global/excel/monumod.txt" PathMonsterEquipment = "/data/global/excel/monequip.txt" PathUniqueAppellation = "/data/global/excel/UniqueAppellation.txt" PathMonsterLevel = "/data/global/excel/monlvl.txt" PathMonsterPreset = "/data/global/excel/MonPreset.txt" PathMonsterProperties = "/data/global/excel/MonProp.txt" PathMonsterStats = "/data/global/excel/monstats.txt" PathMonsterStats2 = "/data/global/excel/monstats2.txt" PathMonsterSound = "/data/global/excel/monsounds.txt" PathMonsterSequence = "/data/global/excel/monseq.txt" PathBelts = "/data/global/excel/belts.txt" PathGamble = "/data/global/excel/gamble.txt" PathInventory = "/data/global/excel/inventory.txt" PathWeapons = "/data/global/excel/weapons.txt" PathArmor = "/data/global/excel/armor.txt" PathWeaponClass = "/data/global/excel/WeaponClass.txt" PathBooks = "/data/global/excel/books.txt" PathMisc = "/data/global/excel/misc.txt" PathUniqueItems = "/data/global/excel/UniqueItems.txt" PathGems = "/data/global/excel/gems.txt" PathMagicPrefix = "/data/global/excel/MagicPrefix.txt" PathMagicSuffix = "/data/global/excel/MagicSuffix.txt" PathRarePrefix = "/data/global/excel/RarePrefix.txt" // these are for item names PathRareSuffix = "/data/global/excel/RareSuffix.txt" PathUniquePrefix = "/data/global/excel/UniquePrefix.txt" PathUniqueSuffix = "/data/global/excel/UniqueSuffix.txt" PathExperience = "/data/global/excel/experience.txt" PathCharStats = "/data/global/excel/charstats.txt" PathMissiles = "/data/global/excel/Missiles.txt" StringTable = "/data/local/lng/ENG/string.tbl" PatchStringTable = "/data/local/lng/ENG/patchstring.tbl" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
type Dependency = LoadsDiablo2Records
type LoadsDiablo2Records ¶
type LoadsDiablo2Records interface { LoadRecords() error IsLoaded() bool Belts() []models.BeltData CharStartingAttributes() []models.CharStats Inventory() []models.InventoryData Overlays() []models.Overlay PetTypes() []models.PetType AutoMapEntries() []models.AutoMapEntry States() []models.State Hirelings() []models.Hireling HirelingDescriptions() []models.HirelingDescription Missiles() []models.Missile DifficultyLevels() []models.Difficultylevel Shrines() []models.Shrine GambleRecords() []models.GambleRecord NpcTradeRecords() []models.NPCTrade ExperienceBreakpoints() []models.ExperienceData ItemArmor() []models.ItemArmor ItemWeapon() []models.ItemWeapon ItemWeaponClass() []models.WeaponClass ItemMisc() []models.MiscItem ItemTypes() []models.ItemType ItemAutoMagic() []models.AutoMagicData ItemStatCost() []models.ItemStatCost ItemRatio() []models.ItemRatio ItemUnique() []models.ItemUnique ItemHiQualityMods() []models.ItemHighQualityModifiers ItemProperties() []models.ItemProperty CubeRecipes() []models.CubeRecipe Books() []models.Book Gems() []models.GemData Runes() []models.RuneWordData SetItems() []models.SetItemData SetBonuses() []models.SetBonusData Skills() []models.SkillData SkillDesc() []models.SkillDescData Treasures() []models.TreasureClass TreasuresExpansion() []models.TreasureClassEx MagicPrefixes() []models.MagicPrefix MagicSuffixes() []models.MagicSuffix RarePrefixes() []models.RarePrefix RareSuffixes() []models.RareSuffix UniquePrefixes() []models.UniquePrefix UniqueSuffixes() []models.UniqueSuffix Objects() []models.Object ObjectTypes() []models.ObjectType ObjectGroups() []models.ObjectGroup ObjectModes() []models.ObjectMode Sounds() []models.SoundEntry SoundEnvironments() []models.SoundEnvironment LevelPresets() []models.LevelPreset LevelType() []models.LevelType LevelWarp() []models.LevelWarp LevelDetails() []models.LevelData LevelMaze() []models.LevelMazeData LevelSubstitutions() []models.LevelSubstitutionData MonsterUniqueModifiers() []models.MonsterUniqueModifier MonsterEquipment() []models.MonsterEquipment MonsterLevelStats() []models.MonsterLevelStats MonsterPresets() []models.MonsterPreset MonsterProperties() []models.MonsterProp MonsterSequences() []models.MonsterSequence MonsterStats() []models.MonsterStats MonsterStats2() []models.MonsterStats2 MonsterSounds() []models.MonsterSounds MonsterUniqueNames() []models.MonsterUniqueName }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AutoMapEntries ¶
func (s *Service) AutoMapEntries() []models.AutoMapEntry
func (*Service) CharStartingAttributes ¶
func (*Service) CubeRecipes ¶
func (s *Service) CubeRecipes() []models.CubeRecipe
func (*Service) DependenciesResolved ¶
func (*Service) DifficultyLevels ¶
func (s *Service) DifficultyLevels() []models.Difficultylevel
func (*Service) ExperienceBreakpoints ¶
func (s *Service) ExperienceBreakpoints() []models.ExperienceData
func (*Service) ExportToLua ¶
func (*Service) GambleRecords ¶
func (s *Service) GambleRecords() []models.GambleRecord
func (*Service) HirelingDescriptions ¶
func (s *Service) HirelingDescriptions() []models.HirelingDescription
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) InitRoutes ¶
func (s *Service) InitRoutes(group *gin.RouterGroup)
func (*Service) Inventory ¶
func (s *Service) Inventory() []models.InventoryData
func (*Service) ItemAutoMagic ¶
func (s *Service) ItemAutoMagic() []models.AutoMagicData
func (*Service) ItemHiQualityMods ¶
func (s *Service) ItemHiQualityMods() []models.ItemHighQualityModifiers
func (*Service) ItemProperties ¶
func (s *Service) ItemProperties() []models.ItemProperty
func (*Service) ItemStatCost ¶
func (s *Service) ItemStatCost() []models.ItemStatCost
func (*Service) ItemUnique ¶
func (s *Service) ItemUnique() []models.ItemUnique
func (*Service) ItemWeapon ¶
func (s *Service) ItemWeapon() []models.ItemWeapon
func (*Service) ItemWeaponClass ¶
func (s *Service) ItemWeaponClass() []models.WeaponClass
func (*Service) LevelDetails ¶
func (*Service) LevelMaze ¶
func (s *Service) LevelMaze() []models.LevelMazeData
func (*Service) LevelPresets ¶
func (s *Service) LevelPresets() []models.LevelPreset
func (*Service) LevelSubstitutions ¶
func (s *Service) LevelSubstitutions() []models.LevelSubstitutionData
func (*Service) LoadRecords ¶
func (*Service) MagicPrefixes ¶
func (s *Service) MagicPrefixes() []models.MagicPrefix
func (*Service) MagicSuffixes ¶
func (s *Service) MagicSuffixes() []models.MagicSuffix
func (*Service) MonsterEquipment ¶
func (s *Service) MonsterEquipment() []models.MonsterEquipment
func (*Service) MonsterLevelStats ¶
func (s *Service) MonsterLevelStats() []models.MonsterLevelStats
func (*Service) MonsterPresets ¶
func (s *Service) MonsterPresets() []models.MonsterPreset
func (*Service) MonsterProperties ¶
func (s *Service) MonsterProperties() []models.MonsterProp
func (*Service) MonsterSequences ¶
func (s *Service) MonsterSequences() []models.MonsterSequence
func (*Service) MonsterSounds ¶
func (s *Service) MonsterSounds() []models.MonsterSounds
func (*Service) MonsterStats ¶
func (s *Service) MonsterStats() []models.MonsterStats
func (*Service) MonsterStats2 ¶
func (s *Service) MonsterStats2() []models.MonsterStats2
func (*Service) MonsterUniqueModifiers ¶
func (s *Service) MonsterUniqueModifiers() []models.MonsterUniqueModifier
func (*Service) MonsterUniqueNames ¶
func (s *Service) MonsterUniqueNames() []models.MonsterUniqueName
func (*Service) NpcTradeRecords ¶
func (*Service) ObjectGroups ¶
func (s *Service) ObjectGroups() []models.ObjectGroup
func (*Service) ObjectModes ¶
func (s *Service) ObjectModes() []models.ObjectMode
func (*Service) ObjectTypes ¶
func (s *Service) ObjectTypes() []models.ObjectType
func (*Service) RarePrefixes ¶
func (s *Service) RarePrefixes() []models.RarePrefix
func (*Service) RareSuffixes ¶
func (s *Service) RareSuffixes() []models.RareSuffix
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
func (*Service) Runes ¶
func (s *Service) Runes() []models.RuneWordData
func (*Service) SetBonuses ¶
func (s *Service) SetBonuses() []models.SetBonusData
func (*Service) SetItems ¶
func (s *Service) SetItems() []models.SetItemData
func (*Service) SkillDesc ¶
func (s *Service) SkillDesc() []models.SkillDescData
func (*Service) SoundEnvironments ¶
func (s *Service) SoundEnvironments() []models.SoundEnvironment
func (*Service) Sounds ¶
func (s *Service) Sounds() []models.SoundEntry
func (*Service) Treasures ¶
func (s *Service) Treasures() []models.TreasureClass
func (*Service) TreasuresExpansion ¶
func (s *Service) TreasuresExpansion() []models.TreasureClassEx
func (*Service) UnexportFromLua ¶
func (*Service) UniquePrefixes ¶
func (s *Service) UniquePrefixes() []models.UniquePrefix
func (*Service) UniqueSuffixes ¶
func (s *Service) UniqueSuffixes() []models.UniqueSuffix
Click to show internal directories.
Click to hide internal directories.