mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
fix IPC struct padding type inconsistencies
This commit is contained in:
parent
e0ef23c3be
commit
b37c57619c
1 changed files with 18 additions and 18 deletions
|
@ -63,12 +63,12 @@ struct FFXIVIpcUpdatePosition :
|
||||||
struct FFXIVIpcSkillHandler :
|
struct FFXIVIpcSkillHandler :
|
||||||
FFXIVIpcBasePacket< SkillHandler >
|
FFXIVIpcBasePacket< SkillHandler >
|
||||||
{
|
{
|
||||||
/* 0000 */ char pad_0000;
|
/* 0000 */ uint8_t pad_0000;
|
||||||
/* 0001 */ uint8_t type;
|
/* 0001 */ uint8_t type;
|
||||||
/* 0002 */ char pad_0002[2];
|
/* 0002 */ uint8_t pad_0002[2];
|
||||||
/* 0004 */ uint32_t actionId;
|
/* 0004 */ uint32_t actionId;
|
||||||
/* 0008 */ uint16_t sequence;
|
/* 0008 */ uint16_t sequence;
|
||||||
/* 000A */ char pad_000C[6];
|
/* 000A */ uint8_t pad_000C[6];
|
||||||
/* 0010 */ uint64_t targetId;
|
/* 0010 */ uint64_t targetId;
|
||||||
/* 0018 */ uint16_t itemSourceSlot;
|
/* 0018 */ uint16_t itemSourceSlot;
|
||||||
/* 001A */ uint16_t itemSourceContainer;
|
/* 001A */ uint16_t itemSourceContainer;
|
||||||
|
@ -78,9 +78,9 @@ struct FFXIVIpcSkillHandler :
|
||||||
struct FFXIVIpcAoESkillHandler :
|
struct FFXIVIpcAoESkillHandler :
|
||||||
FFXIVIpcBasePacket< AoESkillHandler >
|
FFXIVIpcBasePacket< AoESkillHandler >
|
||||||
{
|
{
|
||||||
/* 0000 */ char pad_0000;
|
/* 0000 */ uint8_t pad_0000;
|
||||||
/* 0001 */ uint8_t type;
|
/* 0001 */ uint8_t type;
|
||||||
/* 0002 */ char pad_0002[2];
|
/* 0002 */ uint8_t pad_0002[2];
|
||||||
/* 0004 */ uint32_t actionId;
|
/* 0004 */ uint32_t actionId;
|
||||||
/* 0008 */ uint16_t sequence;
|
/* 0008 */ uint16_t sequence;
|
||||||
/* 000A */ char pad_000C[6];
|
/* 000A */ char pad_000C[6];
|
||||||
|
@ -107,9 +107,9 @@ struct FFXIVIpcEventHandlerReturn :
|
||||||
/* 0004 */ uint16_t scene;
|
/* 0004 */ uint16_t scene;
|
||||||
/* 0006 */ uint16_t param1;
|
/* 0006 */ uint16_t param1;
|
||||||
/* 0008 */ uint16_t param2;
|
/* 0008 */ uint16_t param2;
|
||||||
/* 000A */ char pad_000A[2];
|
/* 000A */ uint8_t pad_000A[2];
|
||||||
/* 000C */ uint16_t param3;
|
/* 000C */ uint16_t param3;
|
||||||
/* 000E */ char pad_000E[2];
|
/* 000E */ uint8_t pad_000E[2];
|
||||||
/* 0010 */ uint16_t param4;
|
/* 0010 */ uint16_t param4;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ struct FFXIVIpcSetSearchInfo :
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/* 0008 */ char pad_0008[9];
|
/* 0008 */ uint8_t pad_0008[9];
|
||||||
/* 0011 */ Common::ClientLanguage language;
|
/* 0011 */ Common::ClientLanguage language;
|
||||||
/* 0012 */ char searchComment[193];
|
/* 0012 */ char searchComment[193];
|
||||||
};
|
};
|
||||||
|
@ -191,9 +191,9 @@ struct FFXIVIpcTellHandler : FFXIVIpcBasePacket< TellReq >
|
||||||
struct FFXIVIpcChatHandler :
|
struct FFXIVIpcChatHandler :
|
||||||
FFXIVIpcBasePacket< ChatHandler >
|
FFXIVIpcBasePacket< ChatHandler >
|
||||||
{
|
{
|
||||||
/* 0000 */ char pad_0000[4];
|
/* 0000 */ uint8_t pad_0000[4];
|
||||||
/* 0004 */ uint32_t sourceId;
|
/* 0004 */ uint32_t sourceId;
|
||||||
/* 0008 */ char pad_0008[16];
|
/* 0008 */ uint8_t pad_0008[16];
|
||||||
/* 0018 */ Common::ChatType chatType;
|
/* 0018 */ Common::ChatType chatType;
|
||||||
/* 001A */ char message[1012];
|
/* 001A */ char message[1012];
|
||||||
};
|
};
|
||||||
|
@ -210,7 +210,7 @@ struct FFXIVIpcLinkshellEventHandler :
|
||||||
{
|
{
|
||||||
/* 0000 */ uint32_t eventId;
|
/* 0000 */ uint32_t eventId;
|
||||||
/* 0004 */ uint16_t scene;
|
/* 0004 */ uint16_t scene;
|
||||||
/* 0006 */ char pad_0006[1];
|
/* 0006 */ uint8_t pad_0006[1];
|
||||||
/* 0007 */ char lsName[21];
|
/* 0007 */ char lsName[21];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -219,13 +219,13 @@ struct FFXIVIpcInventoryModifyHandler :
|
||||||
{
|
{
|
||||||
/* 0000 */ uint32_t seq;
|
/* 0000 */ uint32_t seq;
|
||||||
/* 0004 */ Common::InventoryOperation action;
|
/* 0004 */ Common::InventoryOperation action;
|
||||||
/* 0005 */ char pad_0005[7];
|
/* 0005 */ uint8_t pad_0005[7];
|
||||||
/* 000C */ uint16_t fromContainer;
|
/* 000C */ uint16_t fromContainer;
|
||||||
/* 000E */ char pad_000E[2];
|
/* 000E */ uint8_t pad_000E[2];
|
||||||
/* 0010 */ uint8_t fromSlot;
|
/* 0010 */ uint8_t fromSlot;
|
||||||
/* 0011 */ char pad_0011[15];
|
/* 0011 */ uint8_t pad_0011[15];
|
||||||
/* 0020 */ uint16_t toContainer;
|
/* 0020 */ uint16_t toContainer;
|
||||||
/* 0022 */ char pad_0022[2];
|
/* 0022 */ uint8_t pad_0022[2];
|
||||||
/* 0024 */ uint8_t toSlot;
|
/* 0024 */ uint8_t toSlot;
|
||||||
/* 0025 */ uint8_t pad_0025[3];
|
/* 0025 */ uint8_t pad_0025[3];
|
||||||
/* 0028 */ uint32_t splitCount;
|
/* 0028 */ uint32_t splitCount;
|
||||||
|
@ -261,11 +261,11 @@ struct FFXIVIpcSetSharedEstateSettings :
|
||||||
/* 0008 */ uint64_t char2ContentId;
|
/* 0008 */ uint64_t char2ContentId;
|
||||||
/* 0010 */ uint64_t char3ContentId;
|
/* 0010 */ uint64_t char3ContentId;
|
||||||
/* 0018 */ uint8_t char1Permissions;
|
/* 0018 */ uint8_t char1Permissions;
|
||||||
/* 0019 */ char padding1[0x7];
|
/* 0019 */ uint8_t padding1[0x7];
|
||||||
/* 0020 */ uint8_t char2Permissions;
|
/* 0020 */ uint8_t char2Permissions;
|
||||||
/* 0021 */ char padding2[0x7];
|
/* 0021 */ uint8_t padding2[0x7];
|
||||||
/* 0028 */ uint8_t char3Permissions;
|
/* 0028 */ uint8_t char3Permissions;
|
||||||
/* 0029 */ char padding3[0x7];
|
/* 0029 */ uint8_t padding3[0x7];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FFXIVIpcMarketBoardRequestItemListings :
|
struct FFXIVIpcMarketBoardRequestItemListings :
|
||||||
|
|
Loading…
Add table
Reference in a new issue