mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-24 17:24:57 +01:00
27 lines
588 B
C++
27 lines
588 B
C++
|
#include "SSendRankValueMsg.h"
|
||
|
namespace BS {
|
||
|
namespace Networking {
|
||
|
void SSendRankValueMsg::Serialize(SerializationBuffer* buf){
|
||
|
buf->SeekZero();
|
||
|
buf->WriteInt(1043);
|
||
|
buf->WriteUInt(this->Guid);
|
||
|
buf->WriteInt(this->TalentId);
|
||
|
buf->WriteInt(this->Rank);
|
||
|
}
|
||
|
void SSendRankValueMsg::Deserialize(SerializationBuffer* buf)
|
||
|
{
|
||
|
this->Guid = buf->ReadUInt();
|
||
|
this->TalentId = buf->ReadInt();
|
||
|
this->Rank = buf->ReadInt();
|
||
|
}
|
||
|
SSendRankValueMsg::SSendRankValueMsg()
|
||
|
{
|
||
|
}
|
||
|
String* SSendRankValueMsg::ToString()
|
||
|
{
|
||
|
return new String(CURRENT_TYPE);
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|