| 1 | /* |
| 2 | * Copyright (C) 2008 Pelish ([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 | |
| 19 | |
| 20 | /*****/ |
| 21 | #ifndef JUST_NEED_TYPES |
| 22 | #ifndef INCLUDED_HANDLE_WOL_GAMERES_PROTOS |
| 23 | #define INCLUDED_HANDLE_WOL_GAMERES_PROTOScxx . . $ `src/bnetd/handle_wol_gameres.h:23:9`! |
| 24 | |
| 25 | #define JUST_NEED_TYPEScxx . . $ `src/bnetd/handle_wol_gameres.h:25:9`! |
| 26 | #include "connection.h"cxx . . $ `<file>/src/bnetd/connection.h`/ |
| 27 | #include "game.h"cxx . . $ `<file>/src/bnetd/game.h`/ |
| 28 | #include "account.h"cxx . . $ `<file>/src/bnetd/account.h`/ |
| 29 | #include "common/packet.h"cxx . . $ `<file>/src/common/packet.h`/ |
| 30 | #undef JUST_NEED_TYPEScxx . . $ `src/bnetd/handle_wol_gameres.h:25:9`! |
| 31 | |
| 32 | namespace pvpgncxx . . $ pvpgn/ |
| 33 | { |
| 34 | |
| 35 | namespace bnetdcxx . . $ pvpgn/bnetd/ |
| 36 | { |
| 37 | |
| 38 | typedef enumcxx . . $ pvpgn/bnetd/$anonymous_type_195e53ec6f15d162_0# : int |
| 39 | { |
| 40 | wol_gameres_type_unknowncxx . . $ pvpgn/bnetd/wol_gameres_type_unknown. = 0, |
| 41 | wol_gameres_type_bytecxx . . $ pvpgn/bnetd/wol_gameres_type_byte. = 1, |
| 42 | wol_gameres_type_boolcxx . . $ pvpgn/bnetd/wol_gameres_type_bool. = 2, |
| 43 | wol_gameres_type_timecxx . . $ pvpgn/bnetd/wol_gameres_type_time. = 5, |
| 44 | wol_gameres_type_intcxx . . $ pvpgn/bnetd/wol_gameres_type_int. = 6, |
| 45 | wol_gameres_type_stringcxx . . $ pvpgn/bnetd/wol_gameres_type_string. = 7, |
| 46 | wol_gameres_type_bigintcxx . . $ pvpgn/bnetd/wol_gameres_type_bigint. = 20 |
| 47 | } wol_gameres_typecxx . . $ pvpgn/bnetd/wol_gameres_type#; |
| 48 | |
| 49 | typedef struct wol_gameres_resultcxx . . $ pvpgn/bnetd/wol_gameres_result# |
| 50 | { |
| 51 | t_gamecxx . . $ pvpgn/bnetd/t_game# * gamecxx . . $ pvpgn/bnetd/wol_gameres_result#game.; |
| 52 | t_game_resultcxx . . $ pvpgn/bnetd/t_game_result# * resultscxx . . $ pvpgn/bnetd/wol_gameres_result#results.; |
| 53 | int senderidcxx . . $ pvpgn/bnetd/wol_gameres_result#senderid.; |
| 54 | t_accountcxx . . $ pvpgn/bnetd/t_account# * myaccountcxx . . $ pvpgn/bnetd/wol_gameres_result#myaccount.; |
| 55 | t_accountcxx . . $ pvpgn/bnetd/t_account# * otheraccountcxx . . $ pvpgn/bnetd/wol_gameres_result#otheraccount.; |
| 56 | |
| 57 | } t_wol_gameres_resultcxx . . $ pvpgn/bnetd/t_wol_gameres_result#; |
| 58 | |
| 59 | extern int handle_wol_gameres_packetcxx . . $ pvpgn/bnetd/handle_wol_gameres_packet(8d07eb83d60bed1d).(t_connectioncxx . . $ pvpgn/bnetd/t_connection# * c, t_packetcxx . . $ pvpgn/t_packet# const * const packet); |
| 60 | |
| 61 | } |
| 62 | |
| 63 | } |
| 64 | |
| 65 | #endif |
| 66 | #endif |