Directories
¶
| Path | Synopsis |
|---|---|
|
assets
|
|
|
cmd
|
|
|
wowsimcli
command
|
|
|
core
Proto-based function interface for the simulator
|
Proto-based function interface for the simulator |
|
core/buffs
Package buffs holds the raid buffs and debuffs: the constructors tools/database/gen_spelldata generates from tools/database/buffmanifest, the drivers that add what the game files do not state, and the hand-written auras that share categories with them.
|
Package buffs holds the raid buffs and debuffs: the constructors tools/database/gen_spelldata generates from tools/database/buffmanifest, the drivers that add what the game files do not state, and the hand-written auras that share categories with them. |
|
core/dbcenums
Package dbcenums is the game files' own spell enums: what an effect does, which aura it applies, the attribute bits a spell carries and the proc bits its aura listens to.
|
Package dbcenums is the game files' own spell enums: what an effect does, which aura it applies, the attribute bits a spell carries and the proc bits its aura listens to. |
|
core/itemfit
Package itemfit holds the rules for which slots an item goes in and which enchant rows fit an item.
|
Package itemfit holds the rules for which slots an item goes in and which enchant rows fit an item. |
|
core/spelldata
Package spelldata is the game files' spell rows as the sim reads them: one Spell per spell ID, with its effects and power costs, and accessors that turn the game files' units into core's.
|
Package spelldata is the game files' spell rows as the sim reads them: one Spell per spell ID, with its effects and power costs, and accessors that turn the game files' units into core's. |
|
core/testagent
Package testagent is a character with no class code behind it, for the tests of code every class shares.
|
Package testagent is a character with no class code behind it, for the tests of code every class shares. |
|
lib
command
|
|
|
selfupdate
Package selfupdate replaces a running wowsimforever or wowsimcli with the newest release on GitHub and restarts it.
|
Package selfupdate replaces a running wowsimforever or wowsimcli with the newest release on GitHub and restarts it. |
|
siml/cmd/simlnames
command
Generates the SIML name table (sim/siml/SPEC.md §7.4) from what the sim registers and the database, keeping every name the committed table holds, and reports what it added on standard error.
|
Generates the SIML name table (sim/siml/SPEC.md §7.4) from what the sim registers and the database, keeping every name the committed table holds, and reports what it added on standard error. |
|
siml/gen
Package gen writes the SIML name table, sim/siml/names.json (SPEC.md §7.4): it asks the sim what every spec registers, adds a name for each spell, aura, item, enchant and random suffix the table does not name yet, and keeps every name the table already holds.
|
Package gen writes the SIML name table, sim/siml/names.json (SPEC.md §7.4): it asks the sim what every spec registers, adds a name for each spell, aura, item, enchant and random suffix the table does not name yet, and keeps every name the table already holds. |
|
siml/lsp
Package lsp is the SIML language server: diagnostics, completion, hover, navigation, rename, outline, folding, semantic tokens, formatting and code actions for every *.siml file, and the requests the rotation panel of the VS Code extension makes.
|
Package lsp is the SIML language server: diagnostics, completion, hover, navigation, rename, outline, folding, semantic tokens, formatting and code actions for every *.siml file, and the requests the rotation panel of the VS Code extension makes. |
|
siml/lsp/jsonrpc
Package jsonrpc is JSON-RPC 2.0 over a stream, framed as the language server protocol frames it: a Content-Length header, a blank line and the body.
|
Package jsonrpc is JSON-RPC 2.0 over a stream, framed as the language server protocol frames it: a Content-Length header, a blank line and the body. |
|
siml/lsp/launch
command
Starts the SIML language server, `wowsimcli siml lsp`, for an editor, from the repository root.
|
Starts the SIML language server, `wowsimcli siml lsp`, for an editor, from the repository root. |
|
wasm
command
|
|
|
web
command
|
|
|
Helper functions for reading/writing data.
|
Helper functions for reading/writing data. |
|
database/buffmanifest
Package buffmanifest is the checked-in manifest of every raid, party, individual and enemy-debuff proto field the sim knows about.
|
Package buffmanifest is the checked-in manifest of every raid, party, individual and enemy-debuff proto field the sim knows about. |
|
database/gen_db
command
|
|
|
database/gen_spelldata
command
Regenerates the spell store, sim/<class>/spell_data_auto_gen.go, the hunter's pet_families_auto_gen.go and ammo_auto_gen.go, and the raid buffs from the game files database.
|
Regenerates the spell store, sim/<class>/spell_data_auto_gen.go, the hunter's pet_families_auto_gen.go and ammo_auto_gen.go, and the raid buffs from the game files database. |
|
database/overrides
Package overrides holds the numbers the spelldata store carries that the game files do not state.
|
Package overrides holds the numbers the spelldata store carries that the game files do not state. |
|
db2tool
command
db2tool extracts data from the World of Warcraft game files into tools/database/wowsims.db.
|
db2tool extracts data from the World of Warcraft game files into tools/database/wowsims.db. |
|
db2tool/config
Package config binds the db2tool settings files, tools/database/ generator-settings.json and ptr-generator-settings.json.
|
Package config binds the db2tool settings files, tools/database/ generator-settings.json and ptr-generator-settings.json. |
|
db2tool/dbd
Package dbd parses WoWDBDefs .dbd definition files and selects the version block matching an exact build number.
|
Package dbd parses WoWDBDefs .dbd definition files and selects the version block matching an exact build number. |
|
db2tool/sqlite
Package sqlite writes the extracted tables to wowsims.db: the schema (one table per .dbd definition, arrays as JSON text plus generated per-element columns) and the row inserts.
|
Package sqlite writes the extracted tables to wowsims.db: the schema (one table per .dbd definition, arrays as JSON text plus generated per-element columns) and the row inserts. |
|
db2tool/tact
Package tact reads World of Warcraft game files either out of a local CASC install (.build.info picks the build, then root → encoding → .idx → data.NNN → BLTE resolves a file data id to its bytes) or straight off Blizzard's CDN (see cdn.go), which swaps the .idx/data.NNN step for archive indexes and range reads.
|
Package tact reads World of Warcraft game files either out of a local CASC install (.build.info picks the build, then root → encoding → .idx → data.NNN → BLTE resolves a file data id to its bytes) or straight off Blizzard's CDN (see cdn.go), which swaps the .idx/data.NNN step for archive indexes and range reads. |
|
db2tool/wdc
Package wdc decodes WDC5 .db2 game files tables into rows shaped by a .dbd definition, and overlays the game files' XFTH DBCache hotfix records onto them.
|
Package wdc decodes WDC5 .db2 game files tables into rows shaped by a .dbd definition, and overlays the game files' XFTH DBCache hotfix records onto them. |
|
gen_buffs_proto
command
Command gen_buffs_proto renders proto/buffs.proto from tools/database/buffmanifest.
|
Command gen_buffs_proto renders proto/buffs.proto from tools/database/buffmanifest. |
|
gen_highs
command
Command gen_highs syncs the HiGHS solver artifacts from the npm `highs` package into the repo.
|
Command gen_highs syncs the HiGHS solver artifacts from the npm `highs` package into the repo. |
|
icons
command
icons writes the icon of every item, enchant, consumable and spell the database names into assets/icons as <name>.jpg, decoded from the game files' BLP on Blizzard's CDN, and lists the names it wrote in assets/icons/manifest.json.
|
icons writes the icon of every item, enchant, consumable and spell the database names into assets/icons as <name>.jpg, decoded from the game files' BLP on Blizzard's CDN, and lists the names it wrote in assets/icons/manifest.json. |
|
lsplaunch
Starts a language server of the repository for an editor, from the repository root.
|
Starts a language server of the repository for an editor, from the repository root. |
|
spelldata
command
Command spelldata prints one game files spell row the way the store carries it, so a bare id in hand-written code can be read without grepping the generated table.
|
Command spelldata prints one game files spell row the way the store carries it, so a bare id in hand-written code can be read without grepping the generated table. |
|
spelldata/launch
command
Starts tools/spelldata for an editor, from the repository root, through tools/lsplaunch.
|
Starts tools/spelldata for an editor, from the repository root, through tools/lsplaunch. |
|
spelldata/printer
What tools/spelldata prints, for the command and for a server that reads a row in-process.
|
What tools/spelldata prints, for the command and for a server that reads a row in-process. |
|
tooltip/run
command
|
|
|
ui
|
|
Click to show internal directories.
Click to hide internal directories.