vector< LogicNetworkPacket > & getNetworkPackets()
Get outgoing network packets.
virtual void createInitialNetworkPackets()=0
Send network packet for initialization Note: This is server only for now.
virtual uint32_t getNetworkPacketTypeId()=0
virtual void handleNetworkPacket(LogicNetworkPacket &packet)=0
Handle network packet.
NetworkLogic(Context *context, const string &id, bool handlingHIDInput)
Public constructor.
virtual bool isHandlingNetworkInput()
void setSynchedFromNetwork()
Set that this entity has been synched from network.
bool isSynchedFromNetwork()
void sendNetworkPacket(LogicNetworkPacket &packet)
Send network packet.
vector< LogicNetworkPacket > networkPackets
#define FORBID_CLASS_COPY(CLASS)