mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-31 13:37:45 +00:00
Moved desynth packet type to a common enum
This commit is contained in:
parent
c7baa29d9c
commit
7f46f5769b
2 changed files with 8 additions and 1 deletions
|
@ -1005,6 +1005,13 @@ namespace Sapphire::Common
|
|||
Gatherer
|
||||
};
|
||||
|
||||
enum DesynthPacketType : uint32_t
|
||||
{
|
||||
ItemConsumed = 4921,
|
||||
ItemObtained = 4922,
|
||||
ExpObtained = 4925,
|
||||
};
|
||||
|
||||
using PlayerStateFlagList = std::vector< PlayerStateFlag >;
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue