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