Pol  Revision:4b29d2b
armrtmpl.h
Go to the documentation of this file.
1 
7 #ifndef ARMRTMPL_H
8 #define ARMRTMPL_H
9 
10 #include <string>
11 #include <set>
12 
13 #include "../equipdsc.h"
14 namespace Pol
15 {
16 namespace Clib
17 {
18 class ConfigElem;
19 }
20 namespace Items
21 {
22 class ArmorDesc : public Core::EquipDesc
23 {
24 public:
25  // ArmorTemplate();
26  typedef EquipDesc base;
27  ArmorDesc( u32 objtype, Clib::ConfigElem& elem, const Plib::Package* pkg,
28  bool forceShield = false );
29  virtual ~ArmorDesc(){};
30  virtual void PopulateStruct( Bscript::BStruct* descriptor ) const POL_OVERRIDE;
31  virtual size_t estimatedSize() const POL_OVERRIDE;
32 
33  unsigned short ar;
34  std::set<unsigned short> zones;
36 };
37 }
38 }
39 #endif
#define POL_OVERRIDE
Core::ScriptDef on_hit_script
Definition: armrtmpl.h:35
std::set< unsigned short > zones
Definition: armrtmpl.h:34
unsigned int u32
Definition: rawtypes.h:27
unsigned short ar
Definition: armrtmpl.h:33
virtual ~ArmorDesc()
Definition: armrtmpl.h:29
Definition: berror.cpp:12