Files
cuberite-2a/source/packets/cPacket_AddToInventory.cpp
T

21 lines
397 B
C++
Raw Normal View History

#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
2011-10-03 18:41:19 +00:00
#include "cPacket_AddToInventory.h"
2011-12-21 20:42:34 +00:00
#include "cPacket_WholeInventory.h"
#include "cPacket_ItemData.h"
2011-10-03 18:41:19 +00:00
void cPacket_AddToInventory::Serialize(AString & a_Data) const
2011-10-03 18:41:19 +00:00
{
AppendByte (a_Data, m_PacketID);
cPacket_ItemData::AppendItem(a_Data, m_ItemType, m_Count, m_Life);
}
2011-12-21 20:42:34 +00:00
2011-10-03 18:41:19 +00:00