mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
Core/PacketIO: Update SMSG_STAND_STATE_UPDATE for 6.1.2
This commit is contained in:
@@ -282,6 +282,7 @@ void WorldPackets::Misc::StandStateChange::Read()
|
||||
|
||||
WorldPacket const* WorldPackets::Misc::StandStateUpdate::Write()
|
||||
{
|
||||
_worldPacket << uint32(UnkWoD1);
|
||||
_worldPacket << uint8(State);
|
||||
|
||||
return &_worldPacket;
|
||||
|
||||
@@ -420,11 +420,12 @@ namespace WorldPackets
|
||||
class StandStateUpdate final : public ServerPacket
|
||||
{
|
||||
public:
|
||||
StandStateUpdate() : ServerPacket(SMSG_STAND_STATE_UPDATE, 1) { }
|
||||
StandStateUpdate() : ServerPacket(SMSG_STAND_STATE_UPDATE, 4 + 1) { }
|
||||
StandStateUpdate(UnitStandStateType state) : ServerPacket(SMSG_STAND_STATE_UPDATE, 1), State(state) { }
|
||||
|
||||
WorldPacket const* Write() override;
|
||||
|
||||
uint32 UnkWoD1 = 0; /// @todo 6.1.0 resarch new value
|
||||
UnitStandStateType State = UNIT_STAND_STATE_STAND;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user