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