Skip to content

XML pattern _0_03d___itemdatatable

riyu edited this page Nov 4, 2026 · 3 revisions

XML file pattern {0:03d}.xml

Back to XML Tables Index.

Data file {0:03d}.xml
Source unit src/ms2/commonfiles/itemdatatable.cpp
Loader LoadItemDataFile (0x140558260) in src/ms2/commonfiles/
itemdatatable.cpp
Category common
Attributes 45 (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.

  • Text
  • dropItemAsset > Item
  • enchant
  • enchant > effect
  • environment
  • gradeEffect
  • gradeNif
  • gradePetNif
  • ms2 > MusicScore
  • ms2 > colorPalette
  • ms2 > colorPalette > color
  • ms2 > housing
  • ms2 > item
  • ms2 > uiMaterial
  • revisionratio
  • tag
  • unlimitedenchant
  • weaponspeed

Element (function parameter / root)

Attribute C++ type Field Default Enum Reader Line
feature CStringW strFeatureA FUN_14036e160
0x14036e160
1058
feature CStringW strFeatureB FUN_14036e160
0x14036e160
1059
locale CStringW strLocaleA FUN_14036e160
0x14036e160
1070
locale CStringW strLocaleB FUN_14036e160
0x14036e160
1071
typeID unsigned m_nTypeId FUN_1405434f0
0x1405434f0
214
min int m_nUnk1c FUN_1405434f0
0x1405434f0
215

Element Text

Attribute C++ type Field Default Enum Reader Line
id int nGrade LoadTextColor
0x140559d20
1039
color CString strColor (empty) LoadTextColor
0x140559d20
1041

Element dropItemAsset > Item

Attribute C++ type Field Default Enum Reader Line
itemID unsigned int nItemId LoadDropItemAsset
0x1405598c0
984

Element enchant

Attribute C++ type Field Default Enum Reader Line
weapon int nWeapon LoadEnchant
0x140559fa0
1079

Element enchant > effect

Attribute C++ type Field Default Enum Reader Line
level int nLevel LoadEnchant
0x140559fa0
1083
name CString strName (empty) LoadEnchant
0x140559fa0
1084

Element environment

Attribute C++ type Field Default Enum Reader Line
feature CStringW strFeature FUN_14028f8d0
0x14028f8d0
1070
locale CString strLocale FUN_14028f8d0
0x14028f8d0
1071

Element gradeEffect

Attribute C++ type Field Default Enum Reader Line
id int nGrade LoadGradeEffect
0x140559c30
1027
effect CString strEffect (empty) LoadGradeEffect
0x140559c30
1028

Element gradeNif

Attribute C++ type Field Default Enum Reader Line
id int nGrade LoadGradeNif
0x140559a50
1003
nif CString strNif (empty) LoadGradeNif
0x140559a50
1004

Element gradePetNif

Attribute C++ type Field Default Enum Reader Line
id int nGrade LoadGradePetNif
0x140559b40
1015
nif CString strNif (empty) LoadGradePetNif
0x140559b40
1016

Element ms2 > MusicScore

Attribute C++ type Field Default Enum Reader Line
id unsigned int nId LoadMusicScore
0x14055ad50
1203

Element ms2 > colorPalette

Attribute C++ type Field Default Enum Reader Line
id unsigned int nId LoadColorPalette
0x14055a4a0
1149

Element ms2 > colorPalette > color

Attribute C++ type Field Default Enum Reader Line
ch0 CString str (empty) LoadColorPalette
0x14055a4a0
1162
ch1 CString str (empty) LoadColorPalette
0x14055a4a0
1164
ch2 CString str (empty) LoadColorPalette
0x14055a4a0
1166
palette CString str (empty) LoadColorPalette
0x14055a4a0
1168
show2color bool m_bFlag LoadColorPalette
0x14055a4a0
1170
achieveID unsigned
int
m_n24 LoadColorPalette
0x14055a4a0
1171
achieveGrade int m_n28 LoadColorPalette
0x14055a4a0
1172
stringKey unsigned
int
m_n2c LoadColorPalette
0x14055a4a0
1173
colorSN int m_nColor LoadColorPalette
0x14055a4a0
1174
ch0_eye CString str (empty) LoadColorPalette
0x14055a4a0
1175
ch2_eye CString str (empty) LoadColorPalette
0x14055a4a0
1177

Element ms2 > housing

Attribute C++ type Field Default Enum Reader Line
id unsigned int nId LoadHousing
0x14055b030
1228

Element ms2 > item

Attribute C++ type Field Default Enum Reader Line
id unsigned int nId LoadItemDataFile
0x140558260
762

Element ms2 > uiMaterial

Attribute C++ type Field Default Enum Reader Line
id int nId LoadUiMaterialSound
0x14055a230
1125
sound CString strSound LoadUiMaterialSound
0x14055a230
1126

Element revisionratio

Attribute C++ type Field Default Enum Reader Line
id int nKey LoadRevisionRatio
0x140559f00
1067
ratio float fRatio LoadRevisionRatio
0x140559f00
1068

Element tag

Attribute C++ type Field Default Enum Reader Line
name CString strName LoadTagItemIds
0x14055f190
1482
itemID unsigned int nItemId LoadTagItemIds
0x14055f190
1483

Element unlimitedenchant

Attribute C++ type Field Default Enum Reader Line
weapon int nWeapon LoadUnlimitedEnchant
0x14055a120
1098
name CString strName (empty) LoadUnlimitedEnchant
0x14055a120
1099

Element weaponspeed

Attribute C++ type Field Default Enum Reader Line
id int nWeapon LoadWeaponSpeed
0x140559e60
1054
speedRank int nRank LoadWeaponSpeed
0x140559e60
1055

Clone this wiki locally