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

25 lines
510 B
C++

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