|
Planeshift
|
#include <gem.h>
Public Member Functions | |
| virtual void | AttachNPC (NPC *newNPC) |
| gemNPCActor (psNPCClient *npcclient, psPersistActor &mesg) | |
| virtual gemNPCActor * | GetActorPtr () |
| float | GetHP () |
| Get the actor HP. More... | |
| float | GetHPRate () const |
| Get the actor HPRate. More... | |
| float | GetMana () |
| Get the actor Mana. More... | |
| float | GetManaRate () const |
| Get the actor ManaRate. More... | |
| float | GetMaxHP () const |
| Get the actor MaxHP. More... | |
| float | GetMaxMana () const |
| Get the actor MaxMana. More... | |
| float | GetMaxMenStamina () const |
| Get the actor MaxMenStamina. More... | |
| float | GetMaxPysStamina () const |
| Get the actor MaxPysStamina. More... | |
| float | GetMenStamina () |
| Get the actor MenStamina. More... | |
| float | GetMenStaminaRate () const |
| Get the actor MenStaminaRate. More... | |
| virtual NPC * | GetNPC () |
| virtual const char * | GetObjectType () |
| virtual EID | GetOwnerEID () |
| virtual PID | GetPID () |
| float | GetPysStamina () |
| Get the actor PysStamina. More... | |
| float | GetPysStaminaRate () const |
| Get the actor PysStaminaRate. More... | |
| csString & | GetRace () |
| void | SetHP (float hp) |
| Set the actor HP. More... | |
| void | SetHPRate (float hpRate) |
| Set the actor HP. More... | |
| void | SetMana (float mana) |
| Set the actor Mana. More... | |
| void | SetManaRate (float manaRate) |
| Set the actor ManaRate. More... | |
| void | SetMaxHP (float maxHP) |
| Set the actor MaxHP. More... | |
| void | SetMaxMana (float maxMana) |
| Set the actor MaxMana. More... | |
| void | SetMaxMenStamina (float maxMenStamina) |
| Set the actor MaxMenStamina. More... | |
| void | SetMaxPysStamina (float maxPysStamina) |
| Set the actor MaxPysStamina. More... | |
| void | SetMenStamina (float menStamina) |
| Set the actor MenStamina. More... | |
| void | SetMenStaminaRate (float menStaminaRate) |
| Set the actor MenStaminaRate. More... | |
| void | SetPysStamina (float pysStamina) |
| Set the actor PysStamina. More... | |
| void | SetPysStaminaRate (float pysStaminaRate) |
| Set the actor PysStaminaRate. More... | |
| virtual bool | SetWithinTribe (Tribe *tribe, Tribe **oldTribe=NULL) |
| Set the within tribe. More... | |
| virtual | ~gemNPCActor () |
Public Member Functions inherited from gemNPCObject | |
| gemNPCObject (psNPCClient *npcclient, EID id) | |
| EID | GetEID () |
| virtual InstanceID | GetInstance () |
| iMeshWrapper * | GetMeshWrapper () |
| const char * | GetName () |
| 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 () |
Public Member Functions inherited from iScriptableVar | |
| virtual | ~iScriptableVar () |
Public Attributes | |
| psLinearMovement * | pcmove |
Public Attributes inherited from gemNPCObject | |
| npcMesh * | pcmesh |
Protected Member Functions | |
| bool | InitCharData (const char *textures, const char *equipment) |
| bool | InitLinMove (const csVector3 &pos, float angle, const char *sector, csVector3 top, csVector3 bottom, csVector3 offset) |
Protected Attributes | |
| Stat | hp |
| Points to the tribe home where this tribe is inside. More... | |
| Stat | mana |
| Stat | menStamina |
| NPC * | npc |
| EID | ownerEID |
| PID | playerID |
| Stat | pysStamina |
| csString | race |
| Tribe * | withinTribe |
Protected Attributes inherited from gemNPCObject | |
| float | baseScale |
| EID | eid |
| csRef< iThreadReturn > | factory |
| InstanceID | instance |
| bool | invincible |
| bool | isAlive |
| csString | name |
| float | scale |
| int | type |
| bool | visible |
Additional Inherited Members | |
Static Public Member Functions inherited from gemNPCObject | |
| static void | FiniMesh () |
Static Protected Attributes inherited from gemNPCObject | |
| static csRef< iMeshFactoryWrapper > | nullfact |
| gemNPCActor::gemNPCActor | ( | psNPCClient * | npcclient, |
| psPersistActor & | mesg | ||
| ) |
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented from gemNPCObject.
| float gemNPCActor::GetHP | ( | ) |
Get the actor HP.
| float gemNPCActor::GetHPRate | ( | ) | const |
Get the actor HPRate.
| float gemNPCActor::GetMana | ( | ) |
Get the actor Mana.
| float gemNPCActor::GetManaRate | ( | ) | const |
Get the actor ManaRate.
| float gemNPCActor::GetMaxHP | ( | ) | const |
Get the actor MaxHP.
| float gemNPCActor::GetMaxMana | ( | ) | const |
Get the actor MaxMana.
| float gemNPCActor::GetMaxMenStamina | ( | ) | const |
Get the actor MaxMenStamina.
| float gemNPCActor::GetMaxPysStamina | ( | ) | const |
Get the actor MaxPysStamina.
| float gemNPCActor::GetMenStamina | ( | ) |
Get the actor MenStamina.
| float gemNPCActor::GetMenStaminaRate | ( | ) | const |
Get the actor MenStaminaRate.
|
inlinevirtual |
Reimplemented from gemNPCObject.
|
inlinevirtual |
Reimplemented from gemNPCObject.
|
inlinevirtual |
Reimplemented from gemNPCObject.
| float gemNPCActor::GetPysStamina | ( | ) |
Get the actor PysStamina.
| float gemNPCActor::GetPysStaminaRate | ( | ) | const |
Get the actor PysStaminaRate.
|
protected |
|
protected |
| void gemNPCActor::SetHP | ( | float | hp | ) |
Set the actor HP.
| void gemNPCActor::SetHPRate | ( | float | hpRate | ) |
Set the actor HP.
| void gemNPCActor::SetMana | ( | float | mana | ) |
Set the actor Mana.
| void gemNPCActor::SetManaRate | ( | float | manaRate | ) |
Set the actor ManaRate.
| void gemNPCActor::SetMaxHP | ( | float | maxHP | ) |
Set the actor MaxHP.
| void gemNPCActor::SetMaxMana | ( | float | maxMana | ) |
Set the actor MaxMana.
| void gemNPCActor::SetMaxMenStamina | ( | float | maxMenStamina | ) |
Set the actor MaxMenStamina.
| void gemNPCActor::SetMaxPysStamina | ( | float | maxPysStamina | ) |
Set the actor MaxPysStamina.
| void gemNPCActor::SetMenStamina | ( | float | menStamina | ) |
Set the actor MenStamina.
| void gemNPCActor::SetMenStaminaRate | ( | float | menStaminaRate | ) |
Set the actor MenStaminaRate.
| void gemNPCActor::SetPysStamina | ( | float | pysStamina | ) |
Set the actor PysStamina.
| void gemNPCActor::SetPysStaminaRate | ( | float | pysStaminaRate | ) |
Set the actor PysStaminaRate.
Set the within tribe.
|
protected |
| psLinearMovement* gemNPCActor::pcmove |