Skip to content

XML unit_gameevent

riyu edited this page Nov 5, 2026 · 5 revisions

XML unit gameevent

Back to XML Tables Index.

Data file (path passed in)
Source unit src/ms2/commonfiles/gameevent.cpp
Loader no single loader; readers: vfunc_2 (0x1403bcd70), vfunc_2
(0x1403be0e0), vfunc_2 (0x1403c07b0), vfunc_2 (0x1403c1f30),
FUN_1403c31c0 (0x1403c31c0)
Category common
Attributes 76 (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.

  • gameTicket
  • info
  • jumpingOption
  • ms2 > emotion_day > time
  • ms2 > emotion_reward
  • ms2 > resource
  • ms2 > tree_resource > step
  • ms2 > watering_reward
  • option
  • quest
  • reward
  • rewardData
  • snowman > condition
  • stamp
  • tag
  • v

Element (function parameter / root)

Attribute C++ type Field Default Enum Reader Line
type CStringW strType vfunc_2
0x1403bcd70
947
type CStringA strType vfunc_2
0x1403be0e0
1227
id unsigned
int
nId vfunc_2
0x1403c07b0
1832
minLevel unsigned
short
m_minLevel vfunc_2
0x1403c1f30
2153
maxLevel unsigned
short
m_maxLevel vfunc_2
0x1403c1f30
2154
fieldId unsigned
int
m_fieldId vfunc_2
0x1403c1f30
2155
npcRank Unk_NpcRank m_npcRank Unk_NpcRank
(values not
recovered)
vfunc_2
0x1403c1f30
2156
customNpcId std::set<
unsigned>
m_customNpcIds vfunc_2
0x1403c1f30
2157
isShow bool m_isShow vfunc_2
0x1403c1f30
2158
dropId std::
vector<
unsigned>
m_dropIds vfunc_2
0x1403c1f30
2159
dungeonID unsigned
int
m_dungeonId FUN_1403c31c0
0x1403c31c0
2382
id CStringW strId vfunc_2
0x1403d01c0
5550
name CStringW strName vfunc_2
0x1403d01c0
5551

Element gameTicket

Attribute C++ type Field Default Enum Reader Line
itemID unsigned int m_20 ReadRpsData
0x1403cec90
5251

Element info

Attribute C++ type Field Default Enum Reader Line
name CStringW m_name vfunc_2
0x1403d4930
6488
arcadeId int m_arcadeId vfunc_2
0x1403d5490
6670
rewardCountPerDay int m_rewardCountPerDay vfunc_2
0x1403d5490
6671
title CStringW m_title vfunc_2
0x1403d6190
6847
maxattendance unsigned
int
m_maxAttendance vfunc_2
0x1403d6190
6848
merat unsigned
int
m_merat vfunc_2
0x1403d6190
6849
eventTag Unk_NpcEventTag m_eventTag Unk_NpcEventTag
(values not
recovered)
vfunc_2
0x1403d6190
6850

Element jumpingOption

Attribute C++ type Field Default Enum Reader Line
tutorialEndFieldId unsigned
int
m_tutorialEndFieldId vfunc_2
0x1403d1ad0
5980
jumpingItemDescPopupStringKey CStringW m_jumpingItemDescPopupStringKey vfunc_2
0x1403d1ad0
5981
jumpingItemNotifyStringKey CStringW m_jumpingItemNotifyStringKey vfunc_2
0x1403d1ad0
5982
jumpingCompleteStringKey CStringW m_jumpingCompleteStringKey vfunc_2
0x1403d1ad0
5983

Element ms2 > emotion_day > time

Attribute C++ type Field Default Enum Reader Line
begin CMsTime m_beginTime ReadTreeWateringData
0x1403d08f0
5690
end __int64 m_endTime ReadTreeWateringData
0x1403d08f0
5691

Element ms2 > emotion_reward

Attribute C++ type Field Default Enum Reader Line
MaxRewardCountDaily int m_nBonusLimit ReadTreeWateringData
0x1403d08f0
5714
itemID unsigned
int
m_9c ReadTreeWateringData
0x1403d08f0
5715
grade int m_a0 ReadTreeWateringData
0x1403d08f0
5716
count unsigned
int
m_a4 ReadTreeWateringData
0x1403d08f0
5717

Element ms2 > resource

Attribute C++ type Field Default Enum Reader Line
FieldID unsigned
int
m_f0 ReadTreeWateringData
0x1403d08f0
5730
TreeNameTag CString m_strTreeName ReadTreeWateringData
0x1403d08f0
5731
WaterPotItemID unsigned
int
m_nWaterItemId ReadTreeWateringData
0x1403d08f0
5732
WateringAnimation CString m_strStateWater ReadTreeWateringData
0x1403d08f0
5733
EmotionAnimation CString m_strStateBonus ReadTreeWateringData
0x1403d08f0
5734
EmotionDayEffect CString m_str118 ReadTreeWateringData
0x1403d08f0
5735

Element ms2 > tree_resource > step

Attribute C++ type Field Default Enum Reader Line
step unsigned int m_step ReadTreeWateringData
0x1403d08f0
5678
begin CMsTime m_beginTime ReadTreeWateringData
0x1403d08f0
5679
end __int64 m_endTime ReadTreeWateringData
0x1403d08f0
5680
step int m_id ReadTreeWateringData
0x1403d08f0
5743
nif_id int m_20 ReadTreeWateringData
0x1403d08f0
5744

Element ms2 > watering_reward

Attribute C++ type Field Default Enum Reader Line
MaxRewardCountDaily int m_nDailyLimit ReadTreeWateringData
0x1403d08f0
5706
itemID unsigned
int
m_8c ReadTreeWateringData
0x1403d08f0
5707
grade int m_90 ReadTreeWateringData
0x1403d08f0
5708
count unsigned
int
m_94 ReadTreeWateringData
0x1403d08f0
5709

Element option

Attribute C++ type Field Default Enum Reader Line
thema CStringW m_strTitle ReadSnowmanData
0x1403ce180
5102

Element quest

Attribute C++ type Field Default Enum Reader Line
questID unsigned
int
m_questId FUN_1403c5670
0x1403c5670
2826
distance unsigned
int
m_1c FUN_1403c5670
0x1403c5670
2827
openingDay int m_20 FUN_1403c5670
0x1403c5670
2828

Element reward

Attribute C++ type Field Default Enum Reader Line
special int m_bReceived vfunc_2
0x1403c47c0
2690
count int m_count vfunc_2
0x1403c47c0
2691
item01 CStringW strItem1 vfunc_2
0x1403c47c0
2694
item02 CStringW strItem2 vfunc_2
0x1403c47c0
2695
distance int nDistance FUN_1403c58e0
0x1403c58e0
2849
count int m_count vfunc_2
0x1403d6190
6859
item01 CStringW strItem01 vfunc_2
0x1403d6190
6862
item02 CStringW strItem02 vfunc_2
0x1403d6190
6863

Element rewardData

Attribute C++ type Field Default Enum Reader Line
condPlayCount int m_count ReadRpsData
0x1403cec90
5256

Element snowman > condition

Attribute C++ type Field Default Enum Reader Line
snowflakeCount int m_18 ReadSnowmanData
0x1403ce180
5117
dailyMaxCount int m_1c ReadSnowmanData
0x1403ce180
5118
accumMaxCount int m_20 ReadSnowmanData
0x1403ce180
5119

Element stamp

Attribute C++ type Field Default Enum Reader Line
quest unsigned int m_id vfunc_2
0x1403c47c0
2676
special int m_bStamped vfunc_2
0x1403c47c0
2677
x int m_20 vfunc_2
0x1403c47c0
2678
y int m_24 vfunc_2
0x1403c47c0
2679

Element tag

Attribute C++ type Field Default Enum Reader Line
event CStringW m_strTitle vfunc_2
0x1403c47c0
2672

Element v

Attribute C++ type Field Default Enum Reader Line
quest unsigned
int
m_id ReadCardData
0x1403cd0c0
4866
beginLevel unsigned
short
m_beginLevel vfunc_2
0x1403d1ad0
5937
endLevel unsigned
short
m_endLevel vfunc_2
0x1403d1ad0
5938
burningBonus unsigned
int
m_burningBonus vfunc_2
0x1403d1ad0
5939
additionalEffectId unsigned
int
m_additionalEffectId vfunc_2
0x1403d1ad0
5940
setCharacterPopupStringKey CStringW m_setCharacterPopupStringKey vfunc_2
0x1403d1ad0
5941
descPopupStringKey CStringW m_descPopupStringKey vfunc_2
0x1403d1ad0
5944
rewardUiTitleStringKey CStringW m_rewardUiTitleStringKey vfunc_2
0x1403d1ad0
5945
equipNametagSymbolID unsigned
short
m_equipNametagSymbolId vfunc_2
0x1403d1ad0
5946

Clone this wiki locally