| 1 | /* |
| 2 | * Copyright (C) 2000,2001 Onlyer ([email protected]) |
| 3 | * Copyright (C) 2001 sousou ([email protected]) |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License |
| 7 | * as published by the Free Software Foundation; either version 2 |
| 8 | * of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 | */ |
| 19 | #ifndef INCLUDED_D2CS_D2DBS_LADDER_H |
| 20 | #define INCLUDED_D2CS_D2DBS_LADDER_Hcxx . . $ `src/common/d2cs_d2dbs_ladder.h:20:9`! |
| 21 | |
| 22 | #include "common/bn_type.h"cxx . . $ `<file>/src/common/bn_type.h`/ |
| 23 | #include "common/field_sizes.h"cxx . . $ `<file>/src/common/field_sizes.h`/ |
| 24 | |
| 25 | namespace pvpgncxx . . $ pvpgn/ |
| 26 | { |
| 27 | |
| 28 | typedef structcxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_0# |
| 29 | { |
| 30 | bn_intcxx . . $ pvpgn/bn_int# typecxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_0#type.; |
| 31 | bn_intcxx . . $ pvpgn/bn_int# offsetcxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_0#offset.; |
| 32 | bn_intcxx . . $ pvpgn/bn_int# numbercxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_0#number.; |
| 33 | } t_d2ladderfile_ladderindexcxx . . $ pvpgn/t_d2ladderfile_ladderindex#; |
| 34 | |
| 35 | typedef structcxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_1# |
| 36 | { |
| 37 | bn_intcxx . . $ pvpgn/bn_int# experiencecxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_1#experience.; |
| 38 | bn_shortcxx . . $ pvpgn/bn_short# statuscxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_1#status.; |
| 39 | bn_bytecxx . . $ pvpgn/bn_byte# levelcxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_1#level.; |
| 40 | bn_bytecxx . . $ pvpgn/bn_byte# chclasscxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_1#chclass.; |
| 41 | char charnamecxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_1#charname.[MAX_CHARNAME_LENcxx . . $ MAX_CHARNAME_LEN.]; |
| 42 | } t_d2ladderfile_ladderinfocxx . . $ pvpgn/t_d2ladderfile_ladderinfo#; |
| 43 | |
| 44 | typedef structcxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_2# |
| 45 | { |
| 46 | bn_intcxx . . $ pvpgn/bn_int# maxtypecxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_2#maxtype.; |
| 47 | bn_intcxx . . $ pvpgn/bn_int# checksumcxx . . $ pvpgn/$anonymous_type_8fa503b0122e57d5_2#checksum.; |
| 48 | } t_d2ladderfile_headercxx . . $ pvpgn/t_d2ladderfile_header#; |
| 49 | |
| 50 | } |
| 51 | |
| 52 | #define LADDER_FILE_PREFIXcxx . . $ `src/common/d2cs_d2dbs_ladder.h:52:9`! "ladder" |
| 53 | |
| 54 | #define D2LADDER_HC_OVERALLcxx . . $ `src/common/d2cs_d2dbs_ladder.h:54:9`! 0x00 |
| 55 | #define D2LADDER_STD_OVERALLcxx . . $ `src/common/d2cs_d2dbs_ladder.h:55:9`! 0x09 |
| 56 | #define D2LADDER_EXP_HC_OVERALLcxx . . $ `src/common/d2cs_d2dbs_ladder.h:56:9`! 0x13 |
| 57 | #define D2LADDER_EXP_STD_OVERALLcxx . . $ `src/common/d2cs_d2dbs_ladder.h:57:9`! 0x1B |
| 58 | const unsigned D2CHAR_CLASS_MAXcxx . . $ D2CHAR_CLASS_MAX. = 0x04; |
| 59 | const unsigned D2CHAR_EXP_CLASS_MAXcxx . . $ D2CHAR_EXP_CLASS_MAX. = 0x06; |
| 60 | |
| 61 | #endif |