diff --git a/src/lib/dbc/entities/char-hair-texture.js b/src/lib/dbc/entities/char-hair-texture.js new file mode 100644 index 0000000..f8351ad --- /dev/null +++ b/src/lib/dbc/entities/char-hair-texture.js @@ -0,0 +1,11 @@ +import r from 'restructure'; + +import Entity from '../entity'; + +export default Entity({ + id: r.int32le, + race: r.int32le, + gender: new r.Boolean(r.uint8), // here is the issue (?) + field03: new r.Boolean(r.uint8), // here is the issue (?) + field04: new r.Array(r.int32le, 4), +}); diff --git a/src/lib/dbc/entities/death-thud-lookups.js b/src/lib/dbc/entities/death-thud-lookups.js new file mode 100644 index 0000000..fbba343 --- /dev/null +++ b/src/lib/dbc/entities/death-thud-lookups.js @@ -0,0 +1,11 @@ +import r from 'restructure'; + +import Entity from '../entity'; + +export default Entity({ + id: r.int32le, + sizeClass: r.int32le, + terraintypeSoundId: r.int32le, + soundEntryId: r.int32le, + soundEntryIdWater: r.int32le, +}); diff --git a/src/lib/dbc/entities/index.js b/src/lib/dbc/entities/index.js index adf5f3b..8523276 100644 --- a/src/lib/dbc/entities/index.js +++ b/src/lib/dbc/entities/index.js @@ -20,6 +20,7 @@ export Cfg_Categories from './cfg-categories'; export Cfg_Configs from './cfg-configs'; export CharBaseInfo from './char-base-info'; export CharHairGeosets from './char-hair-geosets'; +export CharHairTexture from './char-hair-texture'; export CharSections from './char-sections'; export CharStartOutfit from './char-start-outfit'; export CharTitles from './char-titles'; @@ -40,6 +41,7 @@ export CreatureType from './creature-type'; export CurrencyCategory from './currency-category'; export CurrencyTypes from './currency-types'; export DanceMoves from './dance-moves'; +export DeathThudLookups from './death-thud-lookups' export DeclinedWord from './declined-word'; export DeclinedWordCases from './declined-word-cases'; export DungeonEncounter from './dungeon-encounter';