entity_spell_system/Queued/Messages/SSendTeamMsg.cpp
2019-04-20 14:02:55 +02:00

25 lines
488 B
C++

#include "SSendTeamMsg.h"
namespace BS {
namespace Networking {
void SSendTeamMsg::Serialize(SerializationBuffer* buf){
buf->SeekZero();
buf->WriteInt(1037);
buf->WriteUInt(this->Guid);
buf->WriteInt(this->Team);
}
void SSendTeamMsg::Deserialize(SerializationBuffer* buf)
{
this->Guid = buf->ReadUInt();
this->Team = buf->ReadInt();
}
SSendTeamMsg::SSendTeamMsg()
{
}
String* SSendTeamMsg::ToString()
{
return new String(CURRENT_TYPE);
}
}
}