Pol  Revision:4b29d2b
Pol::Core::NpcTemplate Class Reference

#include <npctmpl.h>

Public Types

enum  ALIGNMENT : u8 { NEUTRAL, EVIL, GOOD }
 

Public Member Functions

 NpcTemplate (const Clib::ConfigElem &elem, const Plib::Package *pkg)
 
 ~NpcTemplate ()
 
size_t estimateSize () const
 

Public Attributes

enum Pol::Core::NpcTemplate::ALIGNMENT alignment
 
Items::UArmorintrinsic_shield
 
Items::UWeaponintrinsic_weapon
 
ExportScriptmethod_script
 
std::string name
 
const Plib::Packagepkg
 

Detailed Description

Definition at line 34 of file npctmpl.h.

Member Enumeration Documentation

Enumerator
NEUTRAL 
EVIL 
GOOD 

Definition at line 44 of file npctmpl.h.

Constructor & Destructor Documentation

Pol::Core::NpcTemplate::~NpcTemplate ( )

Definition at line 99 of file npctmpl.cpp.

References method_script.

Member Function Documentation

size_t Pol::Core::NpcTemplate::estimateSize ( ) const

Member Data Documentation

enum Pol::Core::NpcTemplate::ALIGNMENT Pol::Core::NpcTemplate::alignment
Items::UArmor* Pol::Core::NpcTemplate::intrinsic_shield

Definition at line 40 of file npctmpl.h.

Items::UWeapon* Pol::Core::NpcTemplate::intrinsic_weapon

Definition at line 39 of file npctmpl.h.

Referenced by Pol::Mobile::NPC::intrinsic_weapon().

ExportScript* Pol::Core::NpcTemplate::method_script

Definition at line 51 of file npctmpl.h.

Referenced by estimateSize(), NpcTemplate(), and ~NpcTemplate().

std::string Pol::Core::NpcTemplate::name

Definition at line 37 of file npctmpl.h.

Referenced by Pol::Core::create_npc_template(), estimateSize(), and NpcTemplate().


The documentation for this class was generated from the following files: