Pol  Revision:cb584c9
equipdsc.cpp
Go to the documentation of this file.
1 
6 #include "equipdsc.h"
7 
8 
9 namespace Pol
10 {
11 namespace Core
12 {
13 EquipDesc::EquipDesc( u32 objtype, Clib::ConfigElem& elem, Type type, const Plib::Package* pkg )
14  : ItemDesc( objtype, elem, type, pkg ), is_intrinsic( false ), is_pc_intrinsic( false )
15 {
16 }
17 
19 {
20  base::PopulateStruct( descriptor );
21 }
23 {
24  return base::estimatedSize() + sizeof( bool ) /*is_intrinsic*/
25  + sizeof( bool ); /*is_pc_intrinsic*/
26 }
27 /*
28 EquipDesc::EquipDesc()
29 {
30 }
31 */
32 }
33 }
virtual size_t estimatedSize() const
Definition: itemdesc.cpp:698
unsigned int u32
Definition: rawtypes.h:27
virtual void PopulateStruct(Bscript::BStruct *descriptor) const POL_OVERRIDE
Definition: equipdsc.cpp:18
virtual void PopulateStruct(Bscript::BStruct *descriptor) const
Definition: itemdesc.cpp:552
virtual size_t estimatedSize() const POL_OVERRIDE
Definition: equipdsc.cpp:22
Definition: berror.cpp:12