Skip to content

Commit

Permalink
Core/PacketIO: Update SMSG_STAND_STATE_UPDATE for 6.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent-Michael committed Apr 14, 2015
1 parent 55f4bc8 commit 6a27d81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/server/game/Server/Packets/MiscPackets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ void WorldPackets::Misc::StandStateChange::Read()

WorldPacket const* WorldPackets::Misc::StandStateUpdate::Write()
{
_worldPacket << uint32(UnkWoD1);
_worldPacket << uint8(State);

return &_worldPacket;
Expand Down
3 changes: 2 additions & 1 deletion src/server/game/Server/Packets/MiscPackets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 6a27d81

Please sign in to comment.