Skip to content

Commit 4a44216

Browse files
Make sense of festival sets
1 parent 035ddec commit 4a44216

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

FFXIVClientStructs/FFXIV/Client/Game/Network/ZoneInitPacket.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ public partial struct ZoneInitPacket {
1818
[FieldOffset(0x20)] public uint RankedCrystallineConflictHostingDataCenterId; // WorldDCGroupType RowId
1919
[FieldOffset(0x24)] public bool IsLimitedTimeBonusActive;
2020

21-
// no idea why there are two different festival sets
22-
[FieldOffset(0x26), FixedSizeArray] internal FixedSizeArray8<ushort> _gameMainFestivalIds;
23-
[FieldOffset(0x36), FixedSizeArray] internal FixedSizeArray8<ushort> _gameMainFestivalPhases;
24-
[FieldOffset(0x46), FixedSizeArray] internal FixedSizeArray8<ushort> _playerStateFestivalIds;
25-
[FieldOffset(0x56), FixedSizeArray] internal FixedSizeArray8<ushort> _playerStateFestivalPhases;
21+
// Saved to GameMain, used by various systems like LayoutManager, WeatherManager, EventHandlers etc. for how things should look
22+
[FieldOffset(0x26), FixedSizeArray] internal FixedSizeArray8<ushort> _gameFestivalIds;
23+
[FieldOffset(0x36), FixedSizeArray] internal FixedSizeArray8<ushort> _gameFestivalPhases;
24+
// Saved to PlayerState, used by UI systems like ContentsFinder, AgentHalloweenNpcSelect, AgentFriendlist (for "Invite Friend to Return") and lua scripts for what options should be displayed
25+
[FieldOffset(0x46), FixedSizeArray] internal FixedSizeArray8<ushort> _uiFestivalIds;
26+
[FieldOffset(0x56), FixedSizeArray] internal FixedSizeArray8<ushort> _uiFestivalPhases;
2627

2728
// Used for camera and streaming layout
2829
[FieldOffset(0x68)] public float PositionX;

0 commit comments

Comments
 (0)