Skip to content

XML unit_shopcategorytable

riyu edited this page Nov 4, 2026 · 4 revisions

XML unit shopcategorytable

Back to XML Tables Index.

Data file (path passed in)
Source unit src/ms2/commonfiles/shopcategorytable.cpp
Loader no single loader; readers: Load (0x1407ca080), Load
(0x1407ca590), LoadCategories (0x1407cad10), LoadTabs
(0x1407cb000)
Category common
Attributes 13 (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.

  • category
  • tab

Element (function parameter / root)

Attribute C++ type Field Default Enum Reader Line
name unsigned nName Load
0x1407ca080
119
symbol CStringA m_strSymbol (empty) Load
0x1407ca080
126
category CStringA m_strCategory (empty) Load
0x1407ca080
129
priority int m_nPriority Load
0x1407ca080
130
static int m_nStatic Load
0x1407ca080
131
id int m_nId Load
0x1407ca080
132
alwaysOpen bool m_bAlwaysOpen Load
0x1407ca080
133
sortGender bool m_bSortGender Load
0x1407ca590
170
sortJob bool m_bSortJob Load
0x1407ca590
171

Element category

Attribute C++ type Field Default Enum Reader Line
id unsigned nId LoadCategories
0x1407cad10
244
tabType CString strTabType LoadCategories
0x1407cad10
250

Element tab

Attribute C++ type Field Default Enum Reader Line
name int nName LoadTabs 0x1407cb000 280
copyid int nCopyId LoadTabs 0x1407cb000 299

Clone this wiki locally