summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_UpdateHealth.cpp
blob: ff54b6530d76708cee07712e70e422bfabd8fccc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include "Globals.h"  // NOTE: MSVC stupidness requires this to be the same across all modules

#include "cPacket_UpdateHealth.h"





void cPacket_UpdateHealth::Serialize(AString & a_Data) const
{
	AppendByte (a_Data, m_PacketID);
	AppendShort(a_Data, m_Health);
	AppendShort(a_Data, m_Food);
	AppendFloat(a_Data, m_Saturation);
}