mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
23 lines
418 B
C++
23 lines
418 B
C++
#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);
|
|
}
|
|
|
|
}
|
|
}
|