Danbias/Code/Game/GameProtocols/ProtocolIdentificationID.h

22 lines
673 B
C
Raw Normal View History

2013-12-16 09:00:11 +01:00
/////////////////////////////////////////////////////////////////////
// Created 2013 by:
// [Dennis Andersen], [Linda Andersson]
/////////////////////////////////////////////////////////////////////
2013-12-09 11:57:34 +01:00
#ifndef GAMEPROTOCOL_PROTOCOL_DEFINITION_ID_H
#define GAMEPROTOCOL_PROTOCOL_DEFINITION_ID_H
/* THERE CAN ABSOLUTLEY NOT BE TWO DEFINITIONS WITH THE SAME ID!! */
2013-12-16 09:00:11 +01:00
#define protocol_PlayerNavigation 0
#define protocol_PlayerPosition 1
#define protocol_ObjectPosition 2
2013-12-09 11:57:34 +01:00
2013-12-16 09:00:11 +01:00
#define protocol_Lobby_Msg 60
#define protocol_General_Disconnect 100
#define protocol_General_Ping 101
#define PROTOCOL_TEST 1000
2013-12-12 10:36:55 +01:00
2013-12-09 11:57:34 +01:00
#endif // !GAMEPROTOCOL_PROTOCOL_DEFINITION_ID_H