mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
Add dutyreg packet definition and opcodes
This commit is contained in:
parent
6235c834aa
commit
1a8660e322
2 changed files with 13 additions and 1 deletions
|
@ -232,6 +232,10 @@ namespace Packets {
|
||||||
|
|
||||||
FinishLoadingHandler = 0x0069,// updated for sb
|
FinishLoadingHandler = 0x0069,// updated for sb
|
||||||
|
|
||||||
|
CFCommenceHandler = 0x006F,
|
||||||
|
CFRegisterDuty = 0x0071,
|
||||||
|
CFRegisterRoulette = 0x0072,
|
||||||
|
|
||||||
PlayTimeHandler = 0x0073,// updated for sb
|
PlayTimeHandler = 0x0073,// updated for sb
|
||||||
LogoutHandler = 0x0074,// updated for sb
|
LogoutHandler = 0x0074,// updated for sb
|
||||||
|
|
||||||
|
|
|
@ -1309,7 +1309,7 @@ struct FFXIVIpcPrepareZoning : FFXIVIpcBasePacket<PrepareZoning>
|
||||||
struct FFXIVIpcCFNotify : FFXIVIpcBasePacket<CFNotify>
|
struct FFXIVIpcCFNotify : FFXIVIpcBasePacket<CFNotify>
|
||||||
{
|
{
|
||||||
uint32_t state1; // 3 = cancelled, 4 = duty ready
|
uint32_t state1; // 3 = cancelled, 4 = duty ready
|
||||||
uint32_t state2; // if state1 == 3, state2 is cancelled reason
|
uint32_t param; // if state1 == 3, state2 is cancelled reason
|
||||||
|
|
||||||
uint8_t classJob; // classJobId you registered
|
uint8_t classJob; // classJobId you registered
|
||||||
uint8_t unknown0[3];
|
uint8_t unknown0[3];
|
||||||
|
@ -1355,6 +1355,14 @@ struct FFXIVIpcCFDutyInfo : FFXIVIpcBasePacket<CFDutyInfo>
|
||||||
uint8_t unknown[7];
|
uint8_t unknown[7];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct FFXIVIpcCFRegisterDuty : FFXIVIpcBasePacket<CFRegisterDuty>
|
||||||
|
{
|
||||||
|
uint32_t unknown0; // 0x301
|
||||||
|
uint8_t rouletteId; // if it's a daily roulette
|
||||||
|
uint8_t unknown1; // 0xDB
|
||||||
|
uint16_t contentId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
} /* Server */
|
} /* Server */
|
||||||
} /* Packets */
|
} /* Packets */
|
||||||
|
|
Loading…
Add table
Reference in a new issue