1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#pragma once #include "cPacket.h" class cPacket_Flying : public cPacket { public: // The BS packet cPacket_Flying() : m_bFlying( false ) { m_PacketID = E_FLYING; } virtual cPacket* Clone() const { return new cPacket_Flying(*this); } bool Parse(cSocket & a_Socket); bool m_bFlying; static const unsigned int c_Size = 2; };