mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-27 21:55:02 +02:00
23 lines
478 B
C++
23 lines
478 B
C++
#include "SSpellCastRequestMsg.h"
|
|
namespace BS {
|
|
namespace Networking {
|
|
void SSpellCastRequestMsg::Serialize(SerializationBuffer* buf){
|
|
buf->SeekZero();
|
|
buf->WriteInt(1020);
|
|
buf->WriteInt(this->SpellId);
|
|
}
|
|
void SSpellCastRequestMsg::Deserialize(SerializationBuffer* buf)
|
|
{
|
|
this->SpellId = buf->ReadInt();
|
|
}
|
|
SSpellCastRequestMsg::SSpellCastRequestMsg()
|
|
{
|
|
}
|
|
String* SSpellCastRequestMsg::ToString()
|
|
{
|
|
return new String(CURRENT_TYPE);
|
|
}
|
|
|
|
}
|
|
}
|