EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MarketBotConf.h
Go to the documentation of this file.
1 
10 #ifndef EVEMU_MARKET_BOTCONFIG_H_
11 #define EVEMU_MARKET_BOTCONFIG_H_
12 
13 #include "../eve-server.h"
14 
15 
17 :public XMLParserEx,
18  public Singleton< MarketBotConf >
19 {
20 public:
21  MarketBotConf();
22  ~MarketBotConf() { /* do nothing here */ }
23 
24  // From <main/>
25  struct
26  {
33  } main;
34 
35  // From <buy/>
36  struct
37  {
48  } buy;
49 
50  // From <sell/>
51  struct
52  {
63  } sell;
64 
65 protected:
66  bool ProcessBotConf( const TiXmlElement* ele );
67  bool ProcessMain( const TiXmlElement* ele );
68  bool ProcessBuy( const TiXmlElement* ele );
69  bool ProcessSell( const TiXmlElement* ele );
70 };
71 
72 
73 #define sMBotConf \
74  (MarketBotConf::get())
75 
76 #endif // EVEMU_MARKET_BOTCONFIG_H_
bool ProcessSell(const TiXmlElement *ele)
bool ProcessBotConf(const TiXmlElement *ele)
bool ProcessMain(const TiXmlElement *ele)
unsigned __int8 uint8
Definition: eve-compat.h:46
uint8 OrdersPerSystem
Definition: MarketBotConf.h:43
bool ProcessBuy(const TiXmlElement *ele)
uint8 OrdersPerRegion
Definition: MarketBotConf.h:41
struct MarketBotConf::@126 buy
uint32 MaxISKPerOrder
Definition: MarketBotConf.h:32
uint8 OrderLifetime
Definition: MarketBotConf.h:30
uint8 OrdersPerConst
Definition: MarketBotConf.h:42
A somewhat extended version of XMLParser.
Definition: XMLParserEx.h:37
uint8 DupeOrdersPerSystem
Definition: MarketBotConf.h:46
struct MarketBotConf::@127 sell
uint8 DupeOrdersPerConst
Definition: MarketBotConf.h:45
unsigned __int32 uint32
Definition: eve-compat.h:50
uint8 SellItemMetaLevelMax
Definition: MarketBotConf.h:61
uint8 DupeOrdersPerRegion
Definition: MarketBotConf.h:44
Template used for singleton classes.
Definition: Singleton.h:43
uint8 MinBuyAmount
Definition: MarketBotConf.h:47
struct MarketBotConf::@125 main
unsigned __int16 uint16
Definition: eve-compat.h:48
uint8 MinSellAmount
Definition: MarketBotConf.h:62
uint8 SellItemMetaLevelMin
Definition: MarketBotConf.h:60
uint8 DataRefreshTime
Definition: MarketBotConf.h:29
uint16 OrdersPerRefresh
Definition: MarketBotConf.h:31