Pol  Revision:3cfda13
cgdata.h
Go to the documentation of this file.
1 
7 #ifndef CGDATA_H
8 #define CGDATA_H
9 
10 #include <cstddef>
11 #include <map>
12 
13 #include "../../clib/rawtypes.h"
14 #include "../../clib/refptr.h"
15 #include "../reftypes.h"
16 
17 namespace Pol
18 {
19 namespace Module
20 {
21 class UOExecutorModule;
22 class UnicodeExecutorModule;
23 }
24 namespace Core
25 {
26 class JusticeRegion;
27 class MusicRegion;
28 class UContainer;
29 class WeatherRegion;
30 }
31 namespace Network
32 {
34 {
35 public:
37  ~ClientGameData();
38  void clear();
39  size_t estimatedSize() const;
40 
41 
45 
46  typedef std::map<u32, Module::UOExecutorModule*> GumpMods;
47  GumpMods gumpmods;
48 
49  void add_gumpmod( Module::UOExecutorModule*, u32 gumpid );
50  Module::UOExecutorModule* find_gumpmod( u32 gumpid );
51  void remove_gumpmods( Module::UOExecutorModule* );
52 
54 
55 
56  /*
57  * If a script is requesting a target cursor from this
58  * character, target_cursor_ex is that script.
59  * Same for menu selection.
60  */
67 
68  Module::UnicodeExecutorModule* prompt_uniemod; // UNIemod, not UOemod!!!
69 
71 
73  // LightRegion* light_region;
77 };
78 }
79 }
80 #endif
Module::UOExecutorModule * popup_menu_selection_uoemod
Definition: cgdata.h:63
ref_ptr< Core::UContainer > vendor_for_sale
Definition: cgdata.h:43
Module::UOExecutorModule * textentry_uoemod
Definition: cgdata.h:53
Core::WeatherRegion * weather_region
Definition: cgdata.h:75
unsigned int u32
Definition: rawtypes.h:27
Module::UOExecutorModule * prompt_uoemod
Definition: cgdata.h:64
Module::UOExecutorModule * selcolor_uoemod
Definition: cgdata.h:66
Core::MusicRegion * music_region
Definition: cgdata.h:74
Module::UOExecutorModule * resurrect_uoemod
Definition: cgdata.h:65
Module::UnicodeExecutorModule * prompt_uniemod
Definition: cgdata.h:68
std::map< u32, Module::UOExecutorModule * > GumpMods
Definition: cgdata.h:46
ref_ptr< Core::UContainer > vendor_bought
Definition: cgdata.h:42
Core::JusticeRegion * justice_region
Definition: cgdata.h:70
Module::UOExecutorModule * target_cursor_uoemod
Definition: cgdata.h:61
Module::UOExecutorModule * menu_selection_uoemod
Definition: cgdata.h:62
Definition: berror.cpp:12