summaryrefslogblamecommitdiffstats
path: root/source/packets/cPacket_UpdateHealth.cpp
blob: 4380e25d6299b291cc5a6042304e6358b78e9e7e (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                                               

                                  


 
 
                                                             
  





                                           
 
 
 

#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);
}