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

23 lines
402 B
C++

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