#include <gem.h>
List of all members.
Public Member Functions |
| gemNPCObject (psNPCClient *npcclient, EID id) |
virtual gemNPCActor * | GetActorPtr () |
EID | GetEID () |
virtual InstanceID | GetInstance () |
iMeshWrapper * | GetMeshWrapper () |
const char * | GetName () |
virtual NPC * | GetNPC () |
virtual const char * | GetObjectType () |
virtual PID | GetPID () |
int | GetType () |
bool | InitMesh (const char *factname, const char *filename, const csVector3 &pos, const float rotangle, const char *sector) |
virtual bool | IsAlive () |
virtual bool | IsInvincible () |
virtual bool | IsInvisible () |
virtual bool | IsPickable () |
virtual bool | IsVisible () |
void | Move (const csVector3 &pos, float rotangle, const char *room) |
void | Move (const csVector3 &pos, float rotangle, const char *room, InstanceID instance) |
virtual void | SetAlive (bool alive) |
virtual void | SetInstance (InstanceID instance) |
virtual void | SetInvincible (bool inv) |
virtual void | SetInvisible (bool invis) |
virtual void | SetPosition (csVector3 &pos, iSector *sector=NULL, InstanceID *instance=NULL) |
virtual void | SetVisible (bool vis) |
virtual | ~gemNPCObject () |
Static Public Member Functions |
static void | FiniMesh () |
Public Attributes |
npcMesh * | pcmesh |
Protected Attributes |
float | baseScale |
EID | eid |
csRef< iThreadReturn > | factory |
InstanceID | instance |
bool | invincible |
bool | isAlive |
csString | name |
float | scale |
int | type |
bool | visible |
Static Protected Attributes |
static csRef< iMeshFactoryWrapper > | nullfact |
Detailed Description
Definition at line 78 of file gem.h.
Constructor & Destructor Documentation
gemNPCObject::gemNPCObject |
( |
psNPCClient * |
npcclient, |
|
|
EID |
id |
|
) |
| |
virtual gemNPCObject::~gemNPCObject |
( |
| ) |
[virtual] |
Member Function Documentation
static void gemNPCObject::FiniMesh |
( |
| ) |
[static] |
virtual gemNPCActor* gemNPCObject::GetActorPtr |
( |
| ) |
[inline, virtual] |
EID gemNPCObject::GetEID |
( |
| ) |
[inline] |
Definition at line 92 of file gem.h.
virtual InstanceID gemNPCObject::GetInstance |
( |
| ) |
[inline, virtual] |
iMeshWrapper* gemNPCObject::GetMeshWrapper |
( |
| ) |
|
const char* gemNPCObject::GetName |
( |
| ) |
[inline] |
virtual NPC* gemNPCObject::GetNPC |
( |
| ) |
[inline, virtual] |
virtual const char* gemNPCObject::GetObjectType |
( |
| ) |
[inline, virtual] |
virtual PID gemNPCObject::GetPID |
( |
| ) |
[inline, virtual] |
int gemNPCObject::GetType |
( |
| ) |
[inline] |
Definition at line 97 of file gem.h.
bool gemNPCObject::InitMesh |
( |
const char * |
factname, |
|
|
const char * |
filename, |
|
|
const csVector3 & |
pos, |
|
|
const float |
rotangle, |
|
|
const char * |
sector |
|
) |
| |
virtual bool gemNPCObject::IsAlive |
( |
| ) |
[inline, virtual] |
virtual bool gemNPCObject::IsInvincible |
( |
| ) |
[inline, virtual] |
virtual bool gemNPCObject::IsInvisible |
( |
| ) |
[inline, virtual] |
virtual bool gemNPCObject::IsPickable |
( |
| ) |
[inline, virtual] |
virtual bool gemNPCObject::IsVisible |
( |
| ) |
[inline, virtual] |
void gemNPCObject::Move |
( |
const csVector3 & |
pos, |
|
|
float |
rotangle, |
|
|
const char * |
room |
|
) |
| |
void gemNPCObject::Move |
( |
const csVector3 & |
pos, |
|
|
float |
rotangle, |
|
|
const char * |
room, |
|
|
InstanceID |
instance |
|
) |
| |
virtual void gemNPCObject::SetAlive |
( |
bool |
alive | ) |
[virtual] |
virtual void gemNPCObject::SetInstance |
( |
InstanceID |
instance | ) |
[inline, virtual] |
virtual void gemNPCObject::SetInvincible |
( |
bool |
inv | ) |
[inline, virtual] |
virtual void gemNPCObject::SetInvisible |
( |
bool |
invis | ) |
[inline, virtual] |
virtual void gemNPCObject::SetPosition |
( |
csVector3 & |
pos, |
|
|
iSector * |
sector = NULL , |
|
|
InstanceID * |
instance = NULL |
|
) |
| [virtual] |
virtual void gemNPCObject::SetVisible |
( |
bool |
vis | ) |
[inline, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: