entity_spell_system/Queued/Messages/GameDataMsg.cpp

23 lines
418 B
C++
Raw Normal View History

2019-04-20 14:02:55 +02:00
#include "GameDataMsg.h"
namespace BS {
namespace Networking {
void GameDataMsg::Serialize(SerializationBuffer* buf){
buf->SeekZero();
buf->WriteInt(1012);
buf->WriteInt(this->Seed);
}
void GameDataMsg::Deserialize(SerializationBuffer* buf)
{
this->Seed = buf->ReadInt();
}
GameDataMsg::GameDataMsg()
{
}
String* GameDataMsg::ToString()
{
return new String(CURRENT_TYPE);
}
}
}