Danbias/Code/Game/GameProtocols/ProtocolIdentificationID.h

25 lines
798 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:50:23 +01:00
#define protocol_Gamplay_PlayerNavigation 0
2013-12-18 12:18:01 +01:00
#define protocol_Gamplay_PlayerMouseMovement 1
#define protocol_Gamplay_PlayerPosition 2
#define protocol_Gamplay_CreateObject 3
#define protocol_Gamplay_ObjectPosition 4
2013-12-09 11:57:34 +01:00
2013-12-16 09:50:23 +01:00
#define protocol_Lobby_Msg 100
2013-12-16 09:00:11 +01:00
2013-12-16 09:50:23 +01:00
#define protocol_General_Disconnect 200
#define protocol_General_Ping 201
2013-12-16 09:00:11 +01:00
2013-12-16 09:50:23 +01:00
#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