2012-01-29 19:28:19 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
2012-01-29 19:28:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-02-07 20:49:52 +00:00
|
|
|
void cPacket_AddToInventory::Serialize(AString & a_Data) const
|
2011-10-03 18:41:19 +00:00
|
|
|
{
|
2012-02-07 20:49:52 +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
|
|
|
|