diff --git a/src/common/Common.h b/src/common/Common.h index 7bb57000..46be4674 100644 --- a/src/common/Common.h +++ b/src/common/Common.h @@ -1005,6 +1005,13 @@ namespace Sapphire::Common Gatherer }; + enum DesynthPacketType : uint32_t + { + ItemConsumed = 4921, + ItemObtained = 4922, + ExpObtained = 4925, + }; + using PlayerStateFlagList = std::vector< PlayerStateFlag >; } diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index da2228eb..438de6ed 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -519,7 +519,7 @@ namespace Sapphire::Network::Packets::Server { /* 0000 */ uint16_t category; /* 0002 */ uint16_t padding; - /* 0004 */ uint32_t resultType; // 4321 => item used, 4922 => item obtained, 4925 => exp obtained + /* 0004 */ Common::DesynthPacketType resultType; /* 0008 */ uint32_t param2; /* 000C */ uint32_t itemId; /* 0010 */ uint32_t param4;