Pol  Revision:cb584c9
equipdsc.h
Go to the documentation of this file.
1 
7 #ifndef EQUIPDSC_H
8 #define EQUIPDSC_H
9 
10 #include "../clib/compilerspecifics.h"
11 #include "../clib/rawtypes.h"
12 #include "item/itemdesc.h"
13 
14 namespace Pol
15 {
16 namespace Bscript
17 {
18 class BStruct;
19 } // namespace Bscript
20 } // namespace Pol
21 
22 namespace Pol
23 {
24 namespace Clib
25 {
26 class ConfigElem;
27 }
28 namespace Plib
29 {
30 class Package;
31 }
32 namespace Core
33 {
34 class EquipDesc : public Items::ItemDesc
35 {
36 public:
38  EquipDesc( u32 objtype, Clib::ConfigElem& elem, Type type, const Plib::Package* pkg );
39  EquipDesc(); // for dummy template
40  virtual ~EquipDesc() = default;
41  virtual void PopulateStruct( Bscript::BStruct* descriptor ) const POL_OVERRIDE;
42  virtual size_t estimatedSize() const POL_OVERRIDE;
43 
44  bool is_intrinsic;
45  bool is_pc_intrinsic; // used to differentiate npc and pc intrinsics
46 };
47 }
48 }
49 #endif
#define POL_OVERRIDE
Items::ItemDesc base
Definition: equipdsc.h:37
unsigned int u32
Definition: rawtypes.h:27
Definition: berror.cpp:12