Skip to content

XML unit_itemdatastruct

riyu edited this page Nov 4, 2026 · 4 revisions

XML unit itemdatastruct

Back to XML Tables Index.

Data file (path passed in)
Source unit src/ms2/commonfiles/itemdatastruct.cpp
Loader no single loader; readers: Load (0x140543730), Load
(0x140543ca0), Load (0x140544b70), LoadXml (0x1405468d0), Load
(0x1405475c0)
Category common
Attributes 167 (0 partial)

Element nesting

Reconstructed from FirstChild* / NextSibling* chains. A leading $name marks a loop/helper variable that could not be resolved to a literal.

  • MusicScore
  • customize
  • cutting > mesh
  • effect
  • function
  • fusion
  • housing
  • install
  • jointangle
  • life
  • limit
  • physx
  • sell
  • skill
  • ucc
  • userrotation

Element (function parameter / root)

Attribute C++ type Field Default Enum Reader Line
typeID unsigned typeID Load
0x140543730
241
scale float scale Load
0x140543730
242
bias float unknown1c Load
0x140543730
243
shadowscale float shadowScale Load
0x140543730
244
shadowbias float shadowBias Load
0x140543730
245
dropani efd::
Point3
dropAni Load
0x140543730
246
dropanispeed float dropAniSpeed Load
0x140543730
247
beani efd::
Point3
beAni Load
0x140543730
248
beanispeed float beAniSpeed Load
0x140543730
249
getani efd::
Point3
getAni Load
0x140543730
250
getanispeed float getAniSpeed Load
0x140543730
251
bounceheight float bounceHeight Load
0x140543730
252
bounceperiod float bouncePeriod Load
0x140543730
253
beeffect CString beEffect Load
0x140543730
254
dropSoundID CString dropSoundID Load
0x140543730
255
getSoundID CString getSoundID Load
0x140543730
256
assetName CString assetName Load
0x140543730
257
name CString name0 Load
0x140543ca0
289
selfnode CString name8 Load
0x140543ca0
290
targetnode CString name10 Load
0x140543ca0
291
attachnode CString name18 Load
0x140543ca0
292
pony int pony Load
0x140543ca0
304
zalign unsigned zalign Load
0x140543ca0
305
replace int replace Load
0x140543ca0
306
earfold int earfold Load
0x140543ca0
307
ani int ani Load
0x140543ca0
308
emotionhide int emotionhide Load
0x140543ca0
309
gender int gender Load
0x140543ca0
310
capscale float capscale Load
0x140543ca0
311
mantlescale float mantlescale Load
0x140543ca0
312
weapon int weapon Load
0x140543ca0
313
placeable int placeable Load
0x140543ca0
314
capHair CString strCapHair (empty) Load
0x140543ca0
378
value ATL::
CAtlMap<
CStringW,
CStringW,
ATL::
CStringElementTraits<
CStringW>
>
values Load
0x140544b70
442
min float minValue Load
0x140544b70
443
max float maxValue Load
0x140544b70
444
reverse int reverse Load
0x140544b70
445
position POSITION position LoadXml
0x1405468d0
907
rotation efd::
Point3
rotation LoadXml
0x1405468d0
908
scale float scale LoadXml
0x1405468d0
909
slotMax unsigned slotMax Load
0x1405475c0
1124
collection int collection Load
0x1405475c0
1126
doNotPreview int doNotPreview Load
0x1405475c0
1127
applyFatiguePenalty int applyFatiguePenalty Load
0x1405475c0
1128
category CString category Load
0x1405475c0
1129
blackMarketCategory CString blackMarketCategory Load
0x1405475c0
1130
slotIcon CString slotIcon Load
0x1405475c0
1131
movie CString movie Load
0x1405475c0
1132
remakeDisable bool remakeDisable Load
0x1405475c0
1133
gearScore unsigned gearScore Load
0x1405475c0
1137
tradableCountDeduction int tradableCountDeduction Load
0x1405475c0
1138
unlimitedEnchantMaxGrade int unlimitedEnchantMaxGrade Load
0x1405475c0
1139
rePackingLimitCount int rePackingLimitCount Load
0x1405475c0
1140
rePackingItemConsumeCount int rePackingItemConsumeCount Load
0x1405475c0
1141
globalRePackingLimitCount int rePackingLimitCount Load
0x1405475c0
1143
globalRePackingItemConsumeCount int rePackingItemConsumeCount Load
0x1405475c0
1145
rePackingScrollID CString strScrollIds Load
0x1405475c0
1147
globalRePackingScrollID CString strGlobalScrollIds Load
0x1405475c0
1153
socketDataId unsigned socketDataId Load
0x1405475c0
1157
moveDisable bool moveDisable Load
0x1405475c0
1158
filter ItemHousingFilter filter ItemHousingFilter
(ItemHousingFilterDefault=100)
LoadElement
0x140548fe0
1476
categoryIndex ItemHousingCategory categoryIndex ItemHousingCategory
(ItemHousingCategoryDefault=10000)
LoadElement
0x140548fe0
1477
categoryTag std::
vector<
unsigned>
categoryTag LoadElement
0x140548fe0
1478
trophyID unsigned trophyID LoadElement
0x140548fe0
1479
trophyLevel unsigned trophyLevel LoadElement
0x140548fe0
1480
interiorLevel unsigned
short
interiorLevel LoadElement
0x140548fe0
1481
setItemID unsigned setItemID LoadElement
0x140548fe0
1484
doNotInstallBlueprint bool doNotInstallBlueprint LoadElement
0x140548fe0
1485
playCount int playCount LoadElement
0x14054a8c0
1885
masteryValueMax int masteryValueMax LoadElement
0x14054a8c0
1886
isCustomNote bool isCustomNote LoadElement
0x14054a8c0
1887
noteLengthMax int noteLengthMax LoadElement
0x14054a8c0
1888
fileName CString fileName LoadElement
0x14054a8c0
1889
playTime int playTime LoadElement
0x14054a8c0
1890
recommendCategoryId int recommendCategoryId LoadElement
0x14054a8c0
1891
desc CStringW name FUN_14054af00
0x14054af00
2002

Element MusicScore

Attribute C++ type Field Default Enum Reader Line
playCount int playCount LoadXml
0x14054a7b0
1871
masteryValueMax int masteryValueMax LoadXml
0x14054a7b0
1872
isCustomNote bool isCustomNote LoadXml
0x14054a7b0
1873
noteLengthMax int noteLengthMax LoadXml
0x14054a7b0
1874
fileName CString fileName LoadXml
0x14054a7b0
1875
playTime int playTime LoadXml
0x14054a7b0
1876
recommendCategoryId int recommendCategoryId LoadXml
0x14054a7b0
1877

Element customize

Attribute C++ type Field Default Enum Reader Line
color bool flag10 Load
0x140546a90
935
colorPalette unsigned unknown14 Load
0x140546a90
936
defaultColorIndex CString strIds -1 Load
0x140546a90
937
colorDelay CString strDelays (empty) Load
0x140546a90
939
scale bool scale Load
0x140546a90
941
rotation bool rotation Load
0x140546a90
942
translation bool translation Load
0x140546a90
943
capAttach bool capAttach Load
0x140546a90
944

Element cutting > mesh

Attribute C++ type Field Default Enum Reader Line
name CString strName (empty) FUN_14054af00
0x14054af00
2024
gender int nGender FUN_14054af00
0x14054af00
2028

Element effect

Attribute C++ type Field Default Enum Reader Line
enchantShape int enchantShape Load
0x140549740
1614
idle CString idle Load
0x140549740
1615
battleIdle CString battleIdle Load
0x140549740
1616
characterIdle CString characterIdle Load
0x140549740
1617
characterBattleIdle CString characterBattleIdle Load
0x140549740
1618

Element function

Attribute C++ type Field Default Enum Reader Line
name CStringW name Load 0x140549f00 1760
parameter CStringW name2 Load 0x140549f00 1761
param1 int arg0 Load 0x140549f00 1762
param2 int arg1 Load 0x140549f00 1763
param3 int arg2 Load 0x140549f00 1764

Element fusion

Attribute C++ type Field Default Enum Reader Line
fusionable int fusionable LoadXml
0x140549520
1567

Element housing

Attribute C++ type Field Default Enum Reader Line
filter ItemHousingFilter filter ItemHousingFilter
(ItemHousingFilterDefault=100)
LoadXml
0x140548e50
1459
categoryIndex ItemHousingCategory categoryIndex ItemHousingCategory
(ItemHousingCategoryDefault=10000)
LoadXml
0x140548e50
1460
categoryTag std::
vector<
unsigned>
categoryTag LoadXml
0x140548e50
1461
trophyID unsigned trophyID LoadXml
0x140548e50
1462
trophyLevel unsigned trophyLevel LoadXml
0x140548e50
1463
interiorLevel unsigned
short
interiorLevel LoadXml
0x140548e50
1464
setItemID unsigned setItemID LoadXml
0x140548e50
1466
doNotInstallBlueprint bool doNotInstallBlueprint LoadXml
0x140548e50
1467

Element install

Attribute C++ type Field Default Enum Reader Line
placeable int placeable Load
0x140548320
1295
unchangeable int unchangeable Load
0x140548320
1296
cannotStackAttach int cannotStackAttach Load
0x140548320
1297
stackable int stackable Load
0x140548320
1298
attachable int attachable Load
0x140548320
1299
wall int wall Load
0x140548320
1300
generatePhysX int generatePhysX Load
0x140548320
1301
cubeProp int cubeProp Load
0x140548320
1302
space int space Load
0x140548320
1303
animatable int animatable Load
0x140548320
1304
objCode unsigned objCode Load
0x140548320
1305
staticAngle float staticAngle Load
0x140548320
1306
asset CString asset Load
0x140548320
1307
preset CString preset Load
0x140548320
1308
mapAttribute CString mapAttribute Load
0x140548320
1309
propCollisionGroup int propCollisionGroup Load
0x140548320
1310
useInstancing bool useInstancing Load
0x140548320
1311

Element jointangle

Attribute C++ type Field Default Enum Reader Line
soft float color.soft Load 0x140543ca0 372
posz float color.posz Load 0x140543ca0 373
zero float color.zero Load 0x140543ca0 374
negz float color.negz Load 0x140543ca0 375

Element life

Attribute C++ type Field Default Enum Reader Line
usePeriod int usePeriod Load
0x140546150
804
expirationPeriod CString strExpiration Load
0x140546150
805
expirationType ItemExpirationType expirationType ItemExpirationType
(ItemExpirationTypeNone=0)
Load
0x140546150
809
numberOfWeeksMonths unsigned numberOfWeeksMonths Load
0x140546150
810
termTag CStringW termTag Load
0x140546150
811

Element limit

Attribute C++ type Field Default Enum Reader Line
genderLimit unsigned genderLimit Load
0x1405452f0
572
levelLimit unsigned levelLimit Load
0x1405452f0
573
transferType ItemTransferType transferType ItemTransferType
(ItemTransferTypeNone=0)
Load
0x1405452f0
574
transferTypeVersion int transferTypeVersion Load
0x1405452f0
575
globalTransferType ItemTransferType transferType ItemTransferType
(ItemTransferTypeNone=0)
Load
0x1405452f0
577
shopSell bool shopSell Load
0x1405452f0
578
enableBreak ItemEnableBreak enableBreak ItemEnableBreak
(ItemEnableBreakNone=0)
Load
0x1405452f0
579
enableRegisterMeratMarket bool enableRegisterMeratMarket Load
0x1405452f0
580
exceptEnchant bool exceptEnchant Load
0x1405452f0
581
vip bool flag6a Load
0x1405452f0
582
wedding bool wedding Load
0x1405452f0
583
vipLevel int vipLevel Load
0x1405452f0
584
jobLimit ATL::
CAtlArray<
unsigned>
jobLimit Load
0x1405452f0
585
disableJobLimit ATL::
CAtlArray<
unsigned>
disableJobLimit Load
0x1405452f0
586
recommendJobs std::set<
int>
recommendJobs Load
0x1405452f0
587

Element physx

Attribute C++ type Field Default Enum Reader Line
action CString strAction (empty) Load 0x140543ca0 408

Element sell

Attribute C++ type Field Default Enum Reader Line
price std::vector<
__int64>
sellPrice Load
0x1405475c0
1136

Element skill

Attribute C++ type Field Default Enum Reader Line
skillID unsigned skillId LoadXml
0x140546770
876
skillLevel unsigned
short
skillLevel LoadXml
0x140546770
877

Element ucc

Attribute C++ type Field Default Enum Reader Line
mesh T* mesh T (values not
recovered)
LoadXml
0x1405495d0
1587

Element userrotation

Attribute C++ type Field Default Enum Reader Line
min float rotationMin.x Load
0x140543ca0
330
max float rotationMax.x Load
0x140543ca0
331
default CString strDefault (empty) Load
0x140543ca0
333
min float rotationMin.y Load
0x140543ca0
341
max float rotationMax.y Load
0x140543ca0
342
default CString strDefault (empty) Load
0x140543ca0
344
min float rotationMin.z Load
0x140543ca0
352
max float rotationMax.z Load
0x140543ca0
353
default CString strDefault (empty) Load
0x140543ca0
355

Clone this wiki locally