From 8a44b35ab7bd4a7671c47c39d01e36b8e518cbed Mon Sep 17 00:00:00 2001 From: Adam <893184+NotAdam@users.noreply.github.com> Date: Sat, 12 Aug 2017 19:05:26 +0900 Subject: [PATCH] Update cfnotify packet It turned out CFNotify packet is a union. Change definition to reflect that. --- src/servers/Server_Common/ServerPacketDef.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/servers/Server_Common/ServerPacketDef.h b/src/servers/Server_Common/ServerPacketDef.h index 6ef6a21e..37609fa3 100644 --- a/src/servers/Server_Common/ServerPacketDef.h +++ b/src/servers/Server_Common/ServerPacketDef.h @@ -1309,17 +1309,13 @@ struct FFXIVIpcPrepareZoning : FFXIVIpcBasePacket struct FFXIVIpcCFNotify : FFXIVIpcBasePacket { uint32_t state1; // 3 = cancelled, 4 = duty ready - uint32_t param; // if state1 == 3, state2 is cancelled reason + uint32_t state2; // if state1 == 3, state2 is cancelled reason - uint8_t classJob; // classJobId you registered - uint8_t unknown0[3]; - - uint32_t unknown1; // unknown, just used 0x20442 from the dumped packet - - uint8_t languages; - uint8_t unknown2[3]; - - uint16_t unknown3; + uint32_t param1; // usually classJobId + uint32_t param2; // usually flag + uint32_t param3; // usually languages, sometimes join in progress timestamp + + uint16_t param4; // usually roulette id uint16_t contents[5]; };