mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
25 lines
526 B
C++
25 lines
526 B
C++
|
#include "SSendStateFlagsMsg.h"
|
||
|
namespace BS {
|
||
|
namespace Networking {
|
||
|
void SSendStateFlagsMsg::Serialize(SerializationBuffer* buf){
|
||
|
buf->SeekZero();
|
||
|
buf->WriteInt(1036);
|
||
|
buf->WriteUInt(this->Guid);
|
||
|
buf->WriteInt(this->Flags);
|
||
|
}
|
||
|
void SSendStateFlagsMsg::Deserialize(SerializationBuffer* buf)
|
||
|
{
|
||
|
this->Guid = buf->ReadUInt();
|
||
|
this->Flags = buf->ReadInt();
|
||
|
}
|
||
|
SSendStateFlagsMsg::SSendStateFlagsMsg()
|
||
|
{
|
||
|
}
|
||
|
String* SSendStateFlagsMsg::ToString()
|
||
|
{
|
||
|
return new String(CURRENT_TYPE);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|