Danbias/Code/Game/GameProtocols/ProtocolIdentificationID.h

27 lines
843 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-19 10:21:03 +01:00
#define protocol_ID_INDEX 0
#define protocol_Gamplay_PlayerNavigation 300
#define protocol_Gamplay_PlayerMouseMovement 301
#define protocol_Gamplay_PlayerPosition 302
#define protocol_Gamplay_CreateObject 303
#define protocol_Gamplay_ObjectPosition 304
2013-12-18 12:18:01 +01:00
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