|
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. | |
| float | GetHPRate () const |
| Get the actor HPRate. | |
| float | GetMana () |
| Get the actor Mana. | |
| float | GetManaRate () const |
| Get the actor ManaRate. | |
| float | GetMaxHP () const |
| Get the actor MaxHP. | |
| float | GetMaxMana () const |
| Get the actor MaxMana. | |
| float | GetMaxMenStamina () const |
| Get the actor MaxMenStamina. | |
| float | GetMaxPysStamina () const |
| Get the actor MaxPysStamina. | |
| float | GetMenStamina () |
| Get the actor MenStamina. | |
| float | GetMenStaminaRate () const |
| Get the actor MenStaminaRate. | |
| virtual NPC * | GetNPC () |
| virtual const char * | GetObjectType () |
| virtual EID | GetOwnerEID () |
| virtual PID | GetPID () |
| float | GetPysStamina () |
| Get the actor PysStamina. | |
| float | GetPysStaminaRate () const |
| Get the actor PysStaminaRate. | |
| csString & | GetRace () |
| void | SetHP (float hp) |
| Set the actor HP. | |
| void | SetHPRate (float hpRate) |
| Set the actor HP. | |
| void | SetMana (float mana) |
| Set the actor Mana. | |
| void | SetManaRate (float manaRate) |
| Set the actor ManaRate. | |
| void | SetMaxHP (float maxHP) |
| Set the actor MaxHP. | |
| void | SetMaxMana (float maxMana) |
| Set the actor MaxMana. | |
| void | SetMaxMenStamina (float maxMenStamina) |
| Set the actor MaxMenStamina. | |
| void | SetMaxPysStamina (float maxPysStamina) |
| Set the actor MaxPysStamina. | |
| void | SetMenStamina (float menStamina) |
| Set the actor MenStamina. | |
| void | SetMenStaminaRate (float menStaminaRate) |
| Set the actor MenStaminaRate. | |
| void | SetPysStamina (float pysStamina) |
| Set the actor PysStamina. | |
| void | SetPysStaminaRate (float pysStaminaRate) |
| Set the actor PysStaminaRate. | |
| virtual bool | SetWithinTribe (Tribe *tribe, Tribe **oldTribe=NULL) |
| Set the within tribe. | |
| virtual | ~gemNPCActor () |
Public Attributes | |
| psLinearMovement * | pcmove |
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. | |
| Stat | mana |
| Stat | menStamina |
| NPC * | npc |
| EID | ownerEID |
| PID | playerID |
| Stat | pysStamina |
| csString | race |
| Tribe * | withinTribe |
| gemNPCActor::gemNPCActor | ( | psNPCClient * | npcclient, |
| psPersistActor & | mesg | ||
| ) |
| virtual gemNPCActor::~gemNPCActor | ( | ) | [virtual] |
| virtual void gemNPCActor::AttachNPC | ( | NPC * | newNPC | ) | [virtual] |
| virtual gemNPCActor* gemNPCActor::GetActorPtr | ( | ) | [inline, virtual] |
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.
| virtual NPC* gemNPCActor::GetNPC | ( | ) | [inline, virtual] |
Reimplemented from gemNPCObject.
| virtual const char* gemNPCActor::GetObjectType | ( | ) | [inline, virtual] |
Reimplemented from gemNPCObject.
| virtual PID gemNPCActor::GetPID | ( | ) | [inline, virtual] |
Reimplemented from gemNPCObject.
| float gemNPCActor::GetPysStamina | ( | ) |
Get the actor PysStamina.
| float gemNPCActor::GetPysStaminaRate | ( | ) | const |
Get the actor PysStaminaRate.
| bool gemNPCActor::InitCharData | ( | const char * | textures, |
| const char * | equipment | ||
| ) | [protected] |
| bool gemNPCActor::InitLinMove | ( | const csVector3 & | pos, |
| float | angle, | ||
| const char * | sector, | ||
| csVector3 | top, | ||
| csVector3 | bottom, | ||
| csVector3 | offset | ||
| ) | [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.
Stat gemNPCActor::hp [protected] |
Stat gemNPCActor::mana [protected] |
Stat gemNPCActor::menStamina [protected] |
NPC* gemNPCActor::npc [protected] |
EID gemNPCActor::ownerEID [protected] |
PID gemNPCActor::playerID [protected] |
Stat gemNPCActor::pysStamina [protected] |
csString gemNPCActor::race [protected] |
Tribe* gemNPCActor::withinTribe [protected] |
1.7.3