mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
27 lines
576 B
C++
27 lines
576 B
C++
#include "CRefreshAuraMsg.h"
|
|
namespace BS {
|
|
namespace Networking {
|
|
void CRefreshAuraMsg::Serialize(SerializationBuffer* buf){
|
|
buf->SeekZero();
|
|
buf->WriteInt(1030);
|
|
buf->WriteUInt(this->Guid);
|
|
buf->WriteInt(this->AuraId);
|
|
buf->WriteFloat(this->Time);
|
|
}
|
|
void CRefreshAuraMsg::Deserialize(SerializationBuffer* buf)
|
|
{
|
|
this->Guid = buf->ReadUInt();
|
|
this->AuraId = buf->ReadInt();
|
|
this->Time = buf->ReadFloat();
|
|
}
|
|
CRefreshAuraMsg::CRefreshAuraMsg()
|
|
{
|
|
}
|
|
String* CRefreshAuraMsg::ToString()
|
|
{
|
|
return new String(CURRENT_TYPE);
|
|
}
|
|
|
|
}
|
|
}
|