Debian Codegraph @

src/bnetd/anongame_gameresult.h

raw symbols SCIP
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; either version 2
5 * of the License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15 */
16 #ifndef INCLUDED_ANONGAME_GAMERESULT_TYPES
17 #define INCLUDED_ANONGAME_GAMERESULT_TYPEScxx . . $ `src/bnetd/anongame_gameresult.h:17:9`!
18
19 namespace pvpgncxx . . $ pvpgn/
20 {
21
22 namespace bnetdcxx . . $ pvpgn/bnetd/
23 {
24
25 #ifdef ANONGAME_GAMERESULT_INTERNAL_ACCESScxx . . $ `src/bnetd/anongame_gameresult.cpp:17:9`!
26 typedef structcxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_0#
27 {
28 char numbercxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_0#number.;
29 int resultcxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_0#result.;
30 int racecxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_0#race.;
31 } t_anongame_playercxx . . $ pvpgn/bnetd/t_anongame_player#;
32
33 typedef structcxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_1#
34 {
35 int levelcxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_1#level.;
36 int race_and_namecxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_1#race_and_name.;
37 int hero_xpcxx . . $ pvpgn/bnetd/$anonymous_type_4f6080add7ca2b3d_1#hero_xp.;
38 } t_anongame_herocxx . . $ pvpgn/bnetd/t_anongame_hero#;
39 #endif
40
41 typedef struct anongame_gameresult_structcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#
42 #ifdef ANONGAME_GAMERESULT_INTERNAL_ACCESScxx . . $ `src/bnetd/anongame_gameresult.cpp:17:9`!
43 {
44 char number_of_resultscxx . . $ pvpgn/bnetd/anongame_gameresult_struct#number_of_results.;
45 t_anongame_playercxx . . $ pvpgn/bnetd/t_anongame_player# *playerscxx . . $ pvpgn/bnetd/anongame_gameresult_struct#players.;
46 int unit_scorecxx . . $ pvpgn/bnetd/anongame_gameresult_struct#unit_score.;
47 int heroes_scorecxx . . $ pvpgn/bnetd/anongame_gameresult_struct#heroes_score.;
48 int resource_scorecxx . . $ pvpgn/bnetd/anongame_gameresult_struct#resource_score.;
49 int units_producedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#units_produced.;
50 int units_killedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#units_killed.;
51 int buildings_producedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#buildings_produced.;
52 int buildings_razedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#buildings_razed.;
53 int largest_armycxx . . $ pvpgn/bnetd/anongame_gameresult_struct#largest_army.;
54 int heroes_used_countcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#heroes_used_count.;
55 t_anongame_herocxx . . $ pvpgn/bnetd/t_anongame_hero# *heroescxx . . $ pvpgn/bnetd/anongame_gameresult_struct#heroes.;
56 int heroes_killedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#heroes_killed.;
57 int items_obtainedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#items_obtained.;
58 int mercenaries_hiredcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#mercenaries_hired.;
59 int total_hero_xpcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#total_hero_xp.;
60 int gold_minedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#gold_mined.;
61 int lumber_harvestedcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#lumber_harvested.;
62 int resources_traded_givencxx . . $ pvpgn/bnetd/anongame_gameresult_struct#resources_traded_given.;
63 int resources_traded_takencxx . . $ pvpgn/bnetd/anongame_gameresult_struct#resources_traded_taken.;
64 int tech_percentagecxx . . $ pvpgn/bnetd/anongame_gameresult_struct#tech_percentage.;
65 int gold_lost_to_upkeepcxx . . $ pvpgn/bnetd/anongame_gameresult_struct#gold_lost_to_upkeep.;
66 }
67 #endif
68 t_anongame_gameresultcxx . . $ pvpgn/bnetd/t_anongame_gameresult#;
69
70 }
71
72 }
73
74 #endif
75
76 #ifndef JUST_NEED_TYPEScxx . . $ `src/bnetd/connection.h:235:9`!
77 #ifndef INCLUDED_ANONGAME_GAMERESULT_PROTOS
78 #define INCLUDED_ANONGAME_GAMERESULT_PROTOScxx . . $ `src/bnetd/anongame_gameresult.h:78:9`!
79
80 #define JUST_NEED_TYPEScxx . . $ `src/bnetd/anongame_gameresult.h:80:9`!
81 # include "common/packet.h"cxx . . $ `<file>/src/common/packet.h`/
82 #undef JUST_NEED_TYPEScxx . . $ `src/bnetd/anongame_gameresult.h:80:9`!
83
84 namespace pvpgncxx . . $ pvpgn/
85 {
86
87 namespace bnetdcxx . . $ pvpgn/bnetd/
88 {
89
90 extern t_anongame_gameresultcxx . . $ pvpgn/bnetd/t_anongame_gameresult# * anongame_gameresult_parsecxx . . $ pvpgn/bnetd/anongame_gameresult_parse(afad805d69d149a8).(t_packetcxx . . $ pvpgn/t_packet# const * const packet);
91 extern int gameresult_destroycxx . . $ pvpgn/bnetd/gameresult_destroy(8722457eb06eb166).(t_anongame_gameresultcxx . . $ pvpgn/bnetd/t_anongame_gameresult# * gameresult);
92
93 extern char gameresult_get_number_of_resultscxx . . $ pvpgn/bnetd/gameresult_get_number_of_results(dcc703a55377cfa1).(t_anongame_gameresultcxx . . $ pvpgn/bnetd/t_anongame_gameresult# * gameresult);
94 extern int gameresult_get_player_resultcxx . . $ pvpgn/bnetd/gameresult_get_player_result(4919fea90e2d0dd3).(t_anongame_gameresultcxx . . $ pvpgn/bnetd/t_anongame_gameresult# * gameresult, int player);
95 extern int gameresult_get_player_numbercxx . . $ pvpgn/bnetd/gameresult_get_player_number(4919fea90e2d0dd3).(t_anongame_gameresultcxx . . $ pvpgn/bnetd/t_anongame_gameresult# * gameresult, int player);
96
97 }
98
99 }
100
101 #endif
102 #endif