summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Flying.h
blob: 7e30ebd7305fe78d3f4fee93066321c387ecab5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "cPacket.h"
#include "PacketID.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;
};