mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-02-22 17:18:12 +01:00
23 lines
500 B
C++
23 lines
500 B
C++
#include "SItemSpellCastRequestMsg.h"
|
|
namespace BS {
|
|
namespace Networking {
|
|
void SItemSpellCastRequestMsg::Serialize(SerializationBuffer* buf){
|
|
buf->SeekZero();
|
|
buf->WriteInt(1021);
|
|
buf->WriteInt(this->ItemId);
|
|
}
|
|
void SItemSpellCastRequestMsg::Deserialize(SerializationBuffer* buf)
|
|
{
|
|
this->ItemId = buf->ReadInt();
|
|
}
|
|
SItemSpellCastRequestMsg::SItemSpellCastRequestMsg()
|
|
{
|
|
}
|
|
String* SItemSpellCastRequestMsg::ToString()
|
|
{
|
|
return new String(CURRENT_TYPE);
|
|
}
|
|
|
|
}
|
|
}
|