1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-31 13:37:45 +00:00

Renamed packetdef and added ipcode to ipcs.h

This commit is contained in:
Supamiu 2019-10-09 08:19:13 +02:00
parent 7f46f5769b
commit 0b7b58a824
3 changed files with 6 additions and 3 deletions

View file

@ -1005,7 +1005,7 @@ namespace Sapphire::Common
Gatherer
};
enum DesynthPacketType : uint32_t
enum DesynthResultType : uint32_t
{
ItemConsumed = 4921,
ItemObtained = 4922,

View file

@ -261,6 +261,9 @@ namespace Sapphire::Network::Packets
// 2C3 and 2C4 are currently unknown
MahjongEndRoundDraw = 0x02C5, // self explanatory
MahjongEndGame = 0x02C6, // finished oorasu(all-last) round; shows a result screen.
// Desynth /////////////////////////////////////////////
DesynthResult = 0x020F,
};
/**

View file

@ -515,11 +515,11 @@ namespace Sapphire::Network::Packets::Server
* Structural representation of the packet sent by the server
* to update certain player details / status
*/
struct FFXIVIpcActorControl20F : FFXIVIpcBasePacket< ActorControl20F >
struct FFXIVIpcDesynthResult : FFXIVIpcBasePacket< DesynthResult >
{
/* 0000 */ uint16_t category;
/* 0002 */ uint16_t padding;
/* 0004 */ Common::DesynthPacketType resultType;
/* 0004 */ Common::DesynthResultType resultType;
/* 0008 */ uint32_t param2;
/* 000C */ uint32_t itemId;
/* 0010 */ uint32_t param4;