| 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_GAMEQUEUE_H |
| 19 | #define INCLUDED_GAMEQUEUE_Hcxx . . $ `src/d2cs/gamequeue.h:19:9`! |
| 20 | |
| 21 | #include "common/packet.h"cxx . . $ `<file>/src/common/packet.h`/ |
| 22 | #include "common/list.h"cxx . . $ `<file>/src/common/list.h`/ |
| 23 | |
| 24 | namespace pvpgncxx . . $ pvpgn/ |
| 25 | { |
| 26 | |
| 27 | namespace d2cscxx . . $ pvpgn/d2cs/ |
| 28 | { |
| 29 | |
| 30 | typedef structcxx . . $ pvpgn/d2cs/$anonymous_type_3c029f150a21829a_0# |
| 31 | { |
| 32 | unsigned int seqnocxx . . $ pvpgn/d2cs/$anonymous_type_3c029f150a21829a_0#seqno.; |
| 33 | unsigned int clientidcxx . . $ pvpgn/d2cs/$anonymous_type_3c029f150a21829a_0#clientid.; |
| 34 | t_packetcxx . . $ pvpgn/t_packet# * packetcxx . . $ pvpgn/d2cs/$anonymous_type_3c029f150a21829a_0#packet.; |
| 35 | char gamenamecxx . . $ pvpgn/d2cs/$anonymous_type_3c029f150a21829a_0#gamename.[MAX_GAMENAME_LENcxx . . $ MAX_GAMENAME_LEN.]; |
| 36 | } t_gqcxx . . $ pvpgn/d2cs/t_gq#; |
| 37 | |
| 38 | extern unsigned int gq_get_clientidcxx . . $ pvpgn/d2cs/gq_get_clientid(c188010fd52a7d9e).(t_gqcxx . . $ pvpgn/d2cs/t_gq# const * gq); |
| 39 | extern int gq_destroycxx . . $ pvpgn/d2cs/gq_destroy(cf9f34ccc49a2ace).(t_gqcxx . . $ pvpgn/d2cs/t_gq# * gq, t_elemcxx . . $ pvpgn/t_elem# ** elem); |
| 40 | extern t_gqcxx . . $ pvpgn/d2cs/t_gq# * gq_createcxx . . $ pvpgn/d2cs/gq_create(ef599294f3a56c4e).(unsigned int clientid, t_packetcxx . . $ pvpgn/t_packet# * packet, char const * gamename); |
| 41 | extern int gqlist_destroycxx . . $ pvpgn/d2cs/gqlist_destroy(b126dc7c1de90089).(void); |
| 42 | extern int gqlist_createcxx . . $ pvpgn/d2cs/gqlist_create(b126dc7c1de90089).(void); |
| 43 | extern t_listcxx . . $ pvpgn/t_list# * gqlistcxx . . $ pvpgn/d2cs/gqlist(7a6cb11de248e2c9).(void); |
| 44 | extern unsigned int gqlist_get_gq_positioncxx . . $ pvpgn/d2cs/gqlist_get_gq_position(4f7e797736adbb74).(t_gqcxx . . $ pvpgn/d2cs/t_gq# * gq); |
| 45 | extern int gqlist_update_all_clientscxx . . $ pvpgn/d2cs/gqlist_update_all_clients(b126dc7c1de90089).(void); |
| 46 | extern int gqlist_check_creategamecxx . . $ pvpgn/d2cs/gqlist_check_creategame(7864480464b09eea).(int number); |
| 47 | extern t_gqcxx . . $ pvpgn/d2cs/t_gq# * gqlist_find_gamecxx . . $ pvpgn/d2cs/gqlist_find_game(cb98c57ab88fe94e).(char const * gamename); |
| 48 | extern unsigned int gqlist_get_lengthcxx . . $ pvpgn/d2cs/gqlist_get_length(db52760e79bf9054).(void); |
| 49 | |
| 50 | } |
| 51 | |
| 52 | } |
| 53 | |
| 54 | #endif |