|
Pol
Rev 533
|
#include <npctmpl.h>
Collaboration diagram for NpcTemplate:Public Types | |
| enum | ALIGNMENT { NEUTRAL, EVIL, GOOD } |
Public Member Functions | |
| NpcTemplate (const ConfigElem &elem, const Package *pkg) | |
| ~NpcTemplate () | |
Public Attributes | |
| enum NpcTemplate::ALIGNMENT | alignment |
| UWeapon * | intrinsic_weapon |
| ExportScript * | method_script |
| std::string | name |
| const Package * | pkg |
| NpcTemplate::NpcTemplate | ( | const ConfigElem & | elem, |
| const Package * | pkg | ||
| ) |
Definition at line 56 of file npctmpl.cpp.
References ConfigElem::has_prop(), ExportScript::Initialize(), method_script, name, Package::name(), ConfigElem::read_string(), and ConfigElemBase::rest().
Here is the call graph for this function:Definition at line 93 of file npctmpl.cpp.
References method_script.
Referenced by NPC::get_script_member_id(), NPC::hilite_color_idx(), and NPC::name_color().
Definition at line 28 of file npctmpl.h.
Referenced by NPC::intrinsic_weapon().
Definition at line 34 of file npctmpl.h.
Referenced by NPC::custom_script_method(), NpcTemplate(), and ~NpcTemplate().
| std::string NpcTemplate::name |
Definition at line 26 of file npctmpl.h.
Referenced by create_npc_template(), and NpcTemplate().
| const Package* NpcTemplate::pkg |
Definition at line 29 of file npctmpl.h.
Referenced by NPC::readNpcProperties(), and NPC::start_script().