Debian Codegraph @

src/common/d2cs_bnetd_protocol.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2000,2001 Onlyer ([email protected])
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18 #ifndef INCLUDED_D2CS_BNETD_PROTOCOL_H
19 #define INCLUDED_D2CS_BNETD_PROTOCOL_Hcxx . . $ `src/common/d2cs_bnetd_protocol.h:19:9`!
20
21 #include "common/bn_type.h"cxx . . $ `<file>/src/common/bn_type.h`/
22
23 namespace pvpgncxx . . $ pvpgn/
24 {
25
26 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_0#
27 {
28 bn_shortcxx . . $ pvpgn/bn_short# sizecxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_0#size.;
29 bn_shortcxx . . $ pvpgn/bn_short# typecxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_0#type.;
30 bn_intcxx . . $ pvpgn/bn_int# seqnocxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_0#seqno.; /* seqno, set by the sender */
31 } t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header#;
32
33 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_1#
34 {
35 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_1#h.;
36 } t_d2cs_bnetd_genericcxx . . $ pvpgn/t_d2cs_bnetd_generic#;
37
38 #define BNETD_D2CS_AUTHREQcxx . . $ `src/common/d2cs_bnetd_protocol.h:38:9`! 0x01
39 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_2#
40 {
41 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_2#h.;
42 bn_intcxx . . $ pvpgn/bn_int# sessionnumcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_2#sessionnum.;
43 } t_bnetd_d2cs_authreqcxx . . $ pvpgn/t_bnetd_d2cs_authreq#;
44
45 #define D2CS_BNETD_AUTHREPLYcxx . . $ `src/common/d2cs_bnetd_protocol.h:45:9`! 0x02
46 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_3#
47 {
48 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_3#h.;
49 bn_intcxx . . $ pvpgn/bn_int# versioncxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_3#version.;
50 /* realm name */
51 } t_d2cs_bnetd_authreplycxx . . $ pvpgn/t_d2cs_bnetd_authreply#;
52
53 #define BNETD_D2CS_AUTHREPLYcxx . . $ `src/common/d2cs_bnetd_protocol.h:53:9`! 0x02
54 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_4#
55 {
56 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_4#h.;
57 bn_intcxx . . $ pvpgn/bn_int# replycxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_4#reply.;
58 } t_bnetd_d2cs_authreplycxx . . $ pvpgn/t_bnetd_d2cs_authreply#;
59 #define BNETD_D2CS_AUTHREPLY_SUCCEEDcxx . . $ `src/common/d2cs_bnetd_protocol.h:59:9`! 0x00
60 #define BNETD_D2CS_AUTHREPLY_BAD_VERSIONcxx . . $ `src/common/d2cs_bnetd_protocol.h:60:9`! 0x01
61
62 #define D2CS_BNETD_ACCOUNTLOGINREQcxx . . $ `src/common/d2cs_bnetd_protocol.h:62:9`! 0x10
63 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_5#
64 {
65 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_5#h.;
66 bn_intcxx . . $ pvpgn/bn_int# seqnocxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_5#seqno.;
67 bn_intcxx . . $ pvpgn/bn_int# sessionnumcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_5#sessionnum.;
68 bn_intcxx . . $ pvpgn/bn_int# sessionkeycxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_5#sessionkey.;
69 bn_intcxx . . $ pvpgn/bn_int# secret_hashcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_5#secret_hash.[5];
70 /* account name */
71 } t_d2cs_bnetd_accountloginreqcxx . . $ pvpgn/t_d2cs_bnetd_accountloginreq#;
72
73 #define BNETD_D2CS_ACCOUNTLOGINREPLYcxx . . $ `src/common/d2cs_bnetd_protocol.h:73:9`! 0x10
74 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_6#
75 {
76 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_6#h.;
77 bn_intcxx . . $ pvpgn/bn_int# replycxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_6#reply.;
78 } t_bnetd_d2cs_accountloginreplycxx . . $ pvpgn/t_bnetd_d2cs_accountloginreply#;
79 #define BNETD_D2CS_ACCOUNTLOGINREPLY_SUCCEEDcxx . . $ `src/common/d2cs_bnetd_protocol.h:79:9`! 0x00
80 #define BNETD_D2CS_ACCOUNTLOGINREPLY_FAILEDcxx . . $ `src/common/d2cs_bnetd_protocol.h:80:9`! 0x01
81
82 #define D2CS_BNETD_CHARLOGINREQcxx . . $ `src/common/d2cs_bnetd_protocol.h:82:9`! 0x11
83 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_7#
84 {
85 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_7#h.;
86 bn_intcxx . . $ pvpgn/bn_int# sessionnumcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_7#sessionnum.;
87 /* character name */
88 /* character portrait */
89 } t_d2cs_bnetd_charloginreqcxx . . $ pvpgn/t_d2cs_bnetd_charloginreq#;
90
91 #define BNETD_D2CS_CHARLOGINREPLYcxx . . $ `src/common/d2cs_bnetd_protocol.h:91:9`! 0x11
92 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_8#
93 {
94 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_8#h.;
95 bn_intcxx . . $ pvpgn/bn_int# replycxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_8#reply.;
96 } t_bnetd_d2cs_charloginreplycxx . . $ pvpgn/t_bnetd_d2cs_charloginreply#;
97 #define BNETD_D2CS_CHARLOGINREPLY_SUCCEEDcxx . . $ `src/common/d2cs_bnetd_protocol.h:97:9`! 0x00
98 #define BNETD_D2CS_CHARLOGINREPLY_FAILEDcxx . . $ `src/common/d2cs_bnetd_protocol.h:98:9`! 0x01
99
100 #define BNETD_D2CS_GAMEINFOREQcxx . . $ `src/common/d2cs_bnetd_protocol.h:100:9`! 0x12
101 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_9#
102 {
103 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_9#h.;
104 /* gamename */
105 } t_bnetd_d2cs_gameinforeqcxx . . $ pvpgn/t_bnetd_d2cs_gameinforeq#;
106
107 #define D2CS_BNETD_GAMEINFOREPLYcxx . . $ `src/common/d2cs_bnetd_protocol.h:107:9`! 0x12
108 typedef structcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_10#
109 {
110 t_d2cs_bnetd_headercxx . . $ pvpgn/t_d2cs_bnetd_header# hcxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_10#h.;
111 bn_bytecxx . . $ pvpgn/bn_byte# difficultycxx . . $ pvpgn/$anonymous_type_b0a976df95fb5a1_10#difficulty.;
112 /* gamename */
113 } t_d2cs_bnetd_gameinforeplycxx . . $ pvpgn/t_d2cs_bnetd_gameinforeply#;
114
115 }
116
117 #endif