Debian Codegraph @

src/network/tygemprotocol.h

raw symbols SCIP
1 /***************************************************************************
2 * Copyright (C) 2009 by The qGo Project *
3 * *
4 * This file is part of qGo. *
5 * *
6 * qGo is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, see <http://www.gnu.org/licenses/> *
18 * or write to the Free Software Foundation, Inc., *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20 ***************************************************************************/
21
22 #define TYGEM_PROTOCOL_VERSION 0x13 //was 06
23
24 #define TYGEM_GAMESINIT 0x12
25 #define TYGEM_GAMESUPDATE 0x13
26 #define TYGEM_PLAYERSINIT 0x15
27 #define TYGEM_PLAYERSUPDATE 0x16
28
29 #define TYGEM_ROOMCREATED 0x37
30 #define TYGEM_BOARDOPENED 0x39
31 #define TYGEM_SERVERPING 0x4d
32 #define TYGEM_SERVERPLAYERCOUNTS 0x54
33 #define TYGEM_OBSERVERSINIT 0x66
34 #define TYGEM_OBSERVERSUPDATE 0x67
35 #define TYGEM_MOVE 0x68
36 #define TYGEM_TIME 0x7d
37
38 #define TYGEM_MATCHINVITE 0x43
39 #define TYGEM_MATCHINVITERESPONSE 0x44
40 #define TYGEM_MATCHOFFER 0x45
41 #define TYGEM_MATCHOFFERRESPONSE 0x46
42
43 #define TYGEM_SERVERDISCONNECT 0x51
44
45 //#define TYGEM_REQUESTCOUNT 0x6b
46 //#define TYGEM_MATCHRESULT 0x72
47 #define TYGEM_ENDGAMEMSG 0x7b
48
49 #define TYGEM_OPENCONVERSATION 0x33
50 #define TYGEM_CONVERSATIONREPLY 0x34
51 #define TYGEM_CONVERSATIONMSG 0x35
52 #define TYGEM_GAMECHAT 0x61
53 #define TYGEM_MATCH 0x71
54 #define TYGEM_MATCHRESULT 0x72
55
56 #define TYGEM_RESUMEBROKENMATCH 0x8e
57
58 #define TYGEM_FRIENDSBLOCKSLIST 0x96
59 #define TYGEM_PERSONALCHAT 0x9f
60
61 #define TPC(x) (TYGEM_PROTOCOL_VERSION << 8) + x
62