-
Notifications
You must be signed in to change notification settings - Fork 1
/
EMessages.h
35 lines (32 loc) · 856 Bytes
/
EMessages.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
#include "RakNetIncludes.h"
enum EMessages
{
EMessage_SendServerHelp = ID_USER_PACKET_ENUM + 1,
EMessage_SendGameHelp,
EMessage_SendLogin,
EMessage_SendDisconnect,
EMessage_SendJoinGame,
EMessage_SendWhoseTurnIsIt,
EMessage_RecvServerHelp,
EMessage_RecvGameHelp,
EMessage_RecvLoginSuccess,
EMessage_RecvDisconnected,
EMessage_RecvWaitingForPlayers,
EMessage_RecvGameJoined,
EMessage_RecvWhoseTurnIsIt,
EMessage_RecvOpponentFinished,
EMessage_RecvAcknowledgement,
EMessage_RecvServerError,
EMessage_RecvGameNotActive,
// See https://github.com/BertHeesakkers/IGADPiGameServer/issues/13 for below
EMessage_SendLobbyData,
EMessage_RecvLobbyData,
// End
/// See server help files for more info:
EMessage_RecvPlayerLeftLobby,
EMessage_RecvPlayerLeftGame,
// End
EMessage_Count,
EMessage_BaseCount = EMessage_Count
};