Planeshift
|
This object represents each NPC managed by this superclient. More...
#include <npc.h>
Classes | |
struct | Locate |
Structure to hold located positions. More... | |
Public Types | |
enum | { LOCATION_NONE = 0, LOCATION_POS = 1, LOCATION_SECTOR = 2, LOCATION_ANGLE = 4, LOCATION_WP = 8, LOCATION_RADIUS = 16, LOCATION_TARGET = 32, LOCATION_ALL = -1 } |
typedef csHash< Locate *, csString > | LocateHash |
Public Member Functions | |
void | AddAutoMemorize (csString types) |
Add new types to the autoMemorize store. | |
void | AddToHateList (gemNPCActor *attacker, float delta) |
Change the hate list value for an attacker. | |
void | CheckPosition () |
void | ClearState () |
Clear the NPCs state. | |
bool | ContainAutoMemorizeType (const csString &type) |
Check if the type is contained in the NPC autoMemorize store. | |
bool | CopyLocate (csString source, csString destination, unsigned int flags) |
Copy locates. | |
bool | Delete () |
Remove this NPC from npc_definitions. | |
void | Disable (bool disable=true) |
void | Dump () |
Dump all information for one NPC to the console. | |
void | DumpBehaviorList (csString &output) |
Dump all behaviors for npc. | |
void | DumpControlled (csString &output) |
Dump the controlled npcs for npc. | |
void | DumpDebugLog (csString &output) |
Dump the debug log for npc. | |
void | DumpHateList (NPC *npc) |
Dump all hated entities for npc. | |
void | DumpHateList (csString &output) |
Dump all hated entities for npc. | |
void | DumpMemory (csString &output) |
Dump the memory for npc. | |
void | DumpReactionList (csString &output) |
Dump all reactions for npc. | |
void | DumpState (csString &output) |
Dump all state information for npc. | |
void | GetActiveLocate (csVector3 &pos, iSector *§or, float &rot) |
Get the NPCs current active locate. | |
void | GetActiveLocate (Waypoint *&wp) |
Return the wp of the current active locate. | |
float | GetActiveLocateRadius () const |
Get the radius of the last locate operatoins. | |
gemNPCActor * | GetActor () |
float | GetAngularVelocity () |
Return the angular velocity of this NPC. | |
NPCType * | GetBrain () |
csString | GetBuffer (const csString &bufferName) |
Return a named buffer from the NPC. | |
Tribe::Memory * | GetBufferMemory () |
Retrive the current buffer memory of the npc. | |
Tribe::Asset * | GetBuildingSpot () |
Get the stored building spot for this NPC. | |
Behavior * | GetCurrentBehavior () |
uint8_t | GetDRCounter (csTicks when, const csVector3 &pos, float yRot, iSector *sector, const csVector3 &vel, float angVel) |
EID | GetEID () |
Return the entity ID if an entity exist else 0. | |
float | GetEntityHate (gemNPCActor *entity) |
Retrive the hate this NPC has to a given entity. | |
int | GetFallCounter () |
Return the fall counter. | |
float | GetHP () |
Get the npc HP. | |
float | GetHPRate () const |
Get the npc HPRate. | |
Perception * | GetLastPerception () |
psLinearMovement * | GetLinMove () |
float | GetMana () |
Get the npc Mana. | |
float | GetManaRate () const |
Get the npc ManaRate. | |
float | GetMaxHP () const |
Get the npc MaxHP. | |
float | GetMaxMana () const |
Get the npc MaxMana. | |
float | GetMaxMenStamina () const |
Get the npc MaxMenStamina. | |
float | GetMaxPysStamina () const |
Get the npc MaxPysStamina. | |
float | GetMenStamina () |
Get the npc MenStamina. | |
float | GetMenStaminaRate () const |
Get the npc MenStaminaRate. | |
gemNPCActor * | GetMostHated (float range, bool includeOutsideRegion, bool includeInvisible, bool includeInvincible, float *hate=NULL) |
Find the most hated entity within range of the NPC. | |
gemNPCActor * | GetMostHated (csVector3 &pos, iSector *sector, float range, LocationType *region, bool includeOutsideRegion, bool includeInvisible, bool includeInvincible, float *hate) |
Find the most hated entity within range of a given position. | |
iMovable * | GetMovable () |
const char * | GetName () |
gemNPCActor * | GetNearestActor (float range, csVector3 &destPosition, iSector *&destSector, float &destRange) |
Return the nearest actor within the given range. | |
gemNPCActor * | GetNearestDeadActor (float range) |
gemNPCActor * | GetNearestNPC (float range, csVector3 &destPosition, iSector *&destSector, float &destRange) |
Return the nearest NPC within the given range. | |
gemNPCActor * | GetNearestPlayer (float range, csVector3 &destPosition, iSector *&destSector, float &destRange) |
Return the nearest player within the given range. | |
gemNPCActor * | GetNearestVisibleFriend (float range) |
const char * | GetOrigBrainType () |
gemNPCObject * | GetOwner () |
const char * | GetOwnerName () |
PID | GetPID () |
float | GetPysStamina () |
Get the npc PysStamina. | |
float | GetPysStaminaRate () const |
Get the npc PysStaminaRate. | |
psNPCRaceListMessage::NPCRaceInfo_t * | GetRaceInfo () |
Get the npc race info. | |
LocationType * | GetRegion () |
csString & | GetRegionName () |
float | GetRunVelocity () |
Return the run velocity for this NPC. | |
const csVector3 & | GetSpawnPosition () const |
Return the position part of the spawn position. | |
iSector * | GetSpawnSector () const |
Return the sector part of the spawn position. | |
gemNPCObject * | GetTarget () |
Tribe * | GetTribe () |
Get the tribe this npc belongs to. | |
const csString & | GetTribeMemberType () const |
Return the type/class for this NPC's tribe membership if any. | |
float | GetVelocity () |
Return the ?override? velocity for this NPC. | |
float | GetWalkVelocity () |
Return the walk velocity for this NPC. | |
bool | HasAutoMemorizeTypes () const |
Check if the NPC has anything to automemorize. | |
void | IncrementFallCounter () |
Increment the fall counter. | |
csString | Info (const csString &infoRequestSubCmd) |
Provide info about the NPC. | |
bool | InsertCopy (PID use_char_id, PID ownerPID) |
Insert a new copy of NPC into npc_definitions. | |
bool | IsAlive () const |
bool | IsDisabled () |
bool | IsInsideRegion () |
Check the inside region state of the npc. | |
bool | IsInsideTribeHome () |
Check the inside tribe home state of the npc. | |
void | Load (const char *name, PID pid, NPCType *type, const char *region_name, int debugging, bool disabled, EventManager *eventmanager) |
Loads an NPC base information and his brain. | |
bool | Load (iResultRow &row, csHash< NPCType *, const char * > &npctypes, EventManager *eventmanager, PID usePID) |
Loads an NPC from one row of sc_npc_definitions, it also loads the corresponding brain. | |
NPC (psNPCClient *npcclient, NetworkManager *networkmanager, psWorld *world, iEngine *engine, iCollideSystem *cdsys) | |
void | ReleaseControl (gemNPCActor *actor) |
Release control of another controlled entity. | |
void | RemoveAutoMemorize (csString types) |
Remove types from the autoMemorize store. | |
void | RemoveFromHateList (EID who) |
Remove a entity from the hate list. | |
void | ReplaceBuffers (csString &result) |
Replace $NBUFFER[x] with values from the NPC buffer. | |
void | ReplaceLocations (csString &result) |
Replace a location. | |
void | ScopedTimerCallback (const ScopedTimer *timer) |
Callback for debug scope timers. | |
void | SetActor (gemNPCActor *actor) |
void | SetAlive (bool a) |
void | SetBrain (NPCType *type) |
Sets a new brain (npctype) to this npc. | |
void | SetBuffer (const csString &bufferName, const csString &value) |
Set/Update the value of a named buffer. | |
void | SetBufferMemory (Tribe::Memory *memory) |
Set a new buffer memory for the NPC. | |
void | SetBuildingSpot (Tribe::Asset *buildingSpot) |
Set a building spot for this NPC. | |
void | SetDRCounter (uint8_t counter) |
void | SetInsideRegion (bool inside) |
Set the inside region state. | |
void | SetInsideTribeHome (bool inside) |
Set the inside tribe home state. | |
void | SetLastPerception (Perception *pcpt) |
void | SetLocate (const csString &destination, const NPC::Locate &locate) |
Set the NPCs locate. | |
void | SetOwner (EID owner_EID) |
Sets the owner of this npc. | |
void | SetTarget (gemNPCObject *t) |
void | SetTribe (Tribe *new_tribe) |
Set a new tribe for this npc. | |
void | SetTribeMemberType (const char *tribeMemberType) |
Set the type/class for this npc in a tribe. | |
void | StoreSpawnPosition () |
Store the start position. | |
void | TakeControl (gemNPCActor *actor) |
Take control of another entity. | |
void | Tick () |
void | TriggerEvent (Perception *pcpt, float maxRange=-1.0, csVector3 *basePos=NULL, iSector *baseSector=NULL, bool sameSector=false) |
Send a perception to this NPC. | |
void | TriggerEvent (const char *pcpt) |
Send a perception to this NPC. | |
void | UpdateControlled () |
Update entities controlled by this NPC. | |
virtual | ~NPC () |
Protected Types | |
typedef csHash< csString, csString > | BufferHash |
Protected Member Functions | |
void | Advance (csTicks when) |
void | TickPostProcess (csTicks when) |
Handle post tick processing. | |
Protected Attributes | |
Locate * | activeLocate |
The current "Active" locate. | |
bool | alive |
float | ang_vel |
csArray< csString > | autoMemorizeTypes |
Used to store what types of perceptions to memorize without changing behaviors. | |
NPCType * | brain |
bool | checked |
csVector3 | checkedPos |
bool | checkedResult |
iSector * | checkedSector |
csArray< csWeakRef< gemNPCActor > > | controlledActors |
Actors that are dragged/pushed around by this NPC. | |
bool | disabled |
uint8_t | DRcounter |
int | fallCounter |
HateList | hatelist |
Stat | hp |
bool | insideRegion |
State variable for inside outside region checks. | |
bool | insideTribeHome |
State variable for inside outside tribe home checks. | |
Perception * | last_perception |
csTicks | last_update |
float | lastDrAngVel |
bool | lastDrMoving |
csVector3 | lastDrPosition |
iSector * | lastDrSector |
csTicks | lastDrTime |
csVector3 | lastDrVel |
float | lastDrYRot |
Stat | mana |
Stat | menStamina |
iMovable * | movable |
csString | name |
gemNPCActor * | npcActor |
NPCType * | oldbrain |
delete at checkpoint | |
csString | origtype |
Name of NPCType for 'reload'. | |
EID | owner_id |
PID | pid |
Stat | pysStamina |
psNPCRaceListMessage::NPCRaceInfo_t * | raceInfo |
LocationType * | region |
Cached pointer to the region. | |
csString | region_name |
Region name as loaded from db. | |
float | runVelocity |
float | scale |
Model scale value. | |
csVector3 | spawnPosition |
The stored position that this NPC where spawned. | |
iSector * | spawnSector |
The stored sector that this NPC where spawned. | |
LocateHash | storedLocates |
List of stored locate locations. | |
EID | target_id |
Tribe * | tribe |
csString | tribeMemberType |
What type/class is this NPC in the tribe. | |
csString | type |
float | vel |
float | walkVelocity |
typedef csHash<csString,csString> NPC::BufferHash [protected] |
typedef csHash<Locate*,csString> NPC::LocateHash |
anonymous enum |
NPC::NPC | ( | psNPCClient * | npcclient, |
NetworkManager * | networkmanager, | ||
psWorld * | world, | ||
iEngine * | engine, | ||
iCollideSystem * | cdsys | ||
) |
virtual NPC::~NPC | ( | ) | [virtual] |
void NPC::AddAutoMemorize | ( | csString | types | ) |
Add new types to the autoMemorize store.
They should be "," seperated.
void NPC::AddToHateList | ( | gemNPCActor * | attacker, |
float | delta | ||
) |
Change the hate list value for an attacker.
attacker | The entity that should be adjusted. |
delta | The change in hate to apply to the attacker. |
void NPC::Advance | ( | csTicks | when | ) | [protected] |
void NPC::CheckPosition | ( | ) |
void NPC::ClearState | ( | ) |
Clear the NPCs state.
Brain, hatelist, etc. is cleared.
bool NPC::ContainAutoMemorizeType | ( | const csString & | type | ) |
Check if the type is contained in the NPC autoMemorize store.
Copy locates.
Typically used to take backups of "Active" locate.
bool NPC::Delete | ( | ) |
Remove this NPC from npc_definitions.
void NPC::Disable | ( | bool | disable = true | ) |
void NPC::Dump | ( | ) |
Dump all information for one NPC to the console.
The main use of this fuction is the "print \<pid\>" npcclient console command.
void NPC::DumpBehaviorList | ( | csString & | output | ) |
Dump all behaviors for npc.
void NPC::DumpControlled | ( | csString & | output | ) |
Dump the controlled npcs for npc.
void NPC::DumpDebugLog | ( | csString & | output | ) |
Dump the debug log for npc.
void NPC::DumpHateList | ( | NPC * | npc | ) |
Dump all hated entities for npc.
Using debug prints at level 5.
void NPC::DumpHateList | ( | csString & | output | ) |
Dump all hated entities for npc.
void NPC::DumpMemory | ( | csString & | output | ) |
Dump the memory for npc.
void NPC::DumpReactionList | ( | csString & | output | ) |
Dump all reactions for npc.
void NPC::DumpState | ( | csString & | output | ) |
Dump all state information for npc.
void NPC::GetActiveLocate | ( | csVector3 & | pos, |
iSector *& | sector, | ||
float & | rot | ||
) |
Get the NPCs current active locate.
void NPC::GetActiveLocate | ( | Waypoint *& | wp | ) |
Return the wp of the current active locate.
wp | will be set with the wp currently in the active locate. |
float NPC::GetActiveLocateRadius | ( | ) | const |
Get the radius of the last locate operatoins.
gemNPCActor* NPC::GetActor | ( | ) | [inline] |
NPCType* NPC::GetBrain | ( | ) |
csString NPC::GetBuffer | ( | const csString & | bufferName | ) |
Return a named buffer from the NPC.
Function used to get data from buffers containing information.
bufferName | The buffer name. |
Tribe::Memory* NPC::GetBufferMemory | ( | ) | [inline] |
Tribe::Asset* NPC::GetBuildingSpot | ( | ) |
Get the stored building spot for this NPC.
Behavior* NPC::GetCurrentBehavior | ( | ) |
EID NPC::GetEID | ( | ) |
Return the entity ID if an entity exist else 0.
float NPC::GetEntityHate | ( | gemNPCActor * | entity | ) |
Retrive the hate this NPC has to a given entity.
entity | The entity to check for hate. |
int NPC::GetFallCounter | ( | ) | [inline] |
float NPC::GetHP | ( | ) |
Get the npc HP.
float NPC::GetHPRate | ( | ) | const |
Get the npc HPRate.
Perception* NPC::GetLastPerception | ( | ) | [inline] |
psLinearMovement* NPC::GetLinMove | ( | ) |
float NPC::GetMana | ( | ) |
Get the npc Mana.
float NPC::GetManaRate | ( | ) | const |
Get the npc ManaRate.
float NPC::GetMaxHP | ( | ) | const |
Get the npc MaxHP.
float NPC::GetMaxMana | ( | ) | const |
Get the npc MaxMana.
float NPC::GetMaxMenStamina | ( | ) | const |
Get the npc MaxMenStamina.
float NPC::GetMaxPysStamina | ( | ) | const |
Get the npc MaxPysStamina.
float NPC::GetMenStamina | ( | ) |
Get the npc MenStamina.
float NPC::GetMenStaminaRate | ( | ) | const |
Get the npc MenStaminaRate.
gemNPCActor* NPC::GetMostHated | ( | float | range, |
bool | includeOutsideRegion, | ||
bool | includeInvisible, | ||
bool | includeInvincible, | ||
float * | hate = NULL |
||
) |
Find the most hated entity within range of the NPC.
Check the hate list and retrive most hated entity within range.
range | The range to search for hated entities. |
includeOutsideRegion | Include enties outside region in the search. |
includeInvisible | Include invisible entities in the search. |
includeInvincible | Include invincible entities in the search. |
hate | If diffrent from NULL, set upon return to the hate of the hated. |
gemNPCActor* NPC::GetMostHated | ( | csVector3 & | pos, |
iSector * | sector, | ||
float | range, | ||
LocationType * | region, | ||
bool | includeOutsideRegion, | ||
bool | includeInvisible, | ||
bool | includeInvincible, | ||
float * | hate | ||
) |
Find the most hated entity within range of a given position.
Check the hate list and retrive most hated entity within range.
pos | The position |
sector | The sector of the position |
range | The range to search for hated entities. |
region | The region to search for hated entities within. |
includeOutsideRegion | Include enties outside region in the search. |
includeInvisible | Include invisible entities in the search. |
includeInvincible | Include invincible entities in the search. |
hate | If diffrent from NULL, set upon return to the hate of the hated. |
gemNPCActor* NPC::GetNearestActor | ( | float | range, |
csVector3 & | destPosition, | ||
iSector *& | destSector, | ||
float & | destRange | ||
) |
Return the nearest actor within the given range.
range | The search range to look for players |
destPosition | Return the position of the target |
destSector | Return the sector of the target |
destRange | Return the range to the target |
gemNPCActor* NPC::GetNearestDeadActor | ( | float | range | ) |
gemNPCActor* NPC::GetNearestNPC | ( | float | range, |
csVector3 & | destPosition, | ||
iSector *& | destSector, | ||
float & | destRange | ||
) |
gemNPCActor* NPC::GetNearestPlayer | ( | float | range, |
csVector3 & | destPosition, | ||
iSector *& | destSector, | ||
float & | destRange | ||
) |
Return the nearest player within the given range.
range | The search range to look for players |
destPosition | Return the position of the target |
destSector | Return the sector of the target |
destRange | Return the range to the target |
gemNPCActor* NPC::GetNearestVisibleFriend | ( | float | range | ) |
gemNPCObject* NPC::GetOwner | ( | ) |
const char* NPC::GetOwnerName | ( | ) |
float NPC::GetPysStamina | ( | ) |
Get the npc PysStamina.
float NPC::GetPysStaminaRate | ( | ) | const |
Get the npc PysStaminaRate.
psNPCRaceListMessage::NPCRaceInfo_t* NPC::GetRaceInfo | ( | ) |
Get the npc race info.
LocationType* NPC::GetRegion | ( | ) |
const csVector3& NPC::GetSpawnPosition | ( | ) | const |
Return the position part of the spawn position.
iSector* NPC::GetSpawnSector | ( | ) | const |
Return the sector part of the spawn position.
gemNPCObject* NPC::GetTarget | ( | ) |
Tribe* NPC::GetTribe | ( | ) |
Get the tribe this npc belongs to.
const csString& NPC::GetTribeMemberType | ( | ) | const |
Return the type/class for this NPC's tribe membership if any.
bool NPC::HasAutoMemorizeTypes | ( | ) | const [inline] |
void NPC::IncrementFallCounter | ( | ) | [inline] |
csString NPC::Info | ( | const csString & | infoRequestSubCmd | ) |
Provide info about the NPC.
This funcion is both used by the "/info" in the client and the "info <pid> npcclient console command.
bool NPC::InsertCopy | ( | PID | use_char_id, |
PID | ownerPID | ||
) |
Insert a new copy of NPC into npc_definitions.
bool NPC::IsInsideRegion | ( | ) | [inline] |
bool NPC::IsInsideTribeHome | ( | ) | [inline] |
bool NPC::Load | ( | iResultRow & | row, |
csHash< NPCType *, const char * > & | npctypes, | ||
EventManager * | eventmanager, | ||
PID | usePID | ||
) |
Loads an NPC from one row of sc_npc_definitions, it also loads the corresponding brain.
Used at boot time
void NPC::Load | ( | const char * | name, |
PID | pid, | ||
NPCType * | type, | ||
const char * | region_name, | ||
int | debugging, | ||
bool | disabled, | ||
EventManager * | eventmanager | ||
) |
Loads an NPC base information and his brain.
void NPC::ReleaseControl | ( | gemNPCActor * | actor | ) |
Release control of another controlled entity.
void NPC::RemoveAutoMemorize | ( | csString | types | ) |
Remove types from the autoMemorize store.
They should be "," seperated.
void NPC::RemoveFromHateList | ( | EID | who | ) |
Remove a entity from the hate list.
void NPC::ReplaceBuffers | ( | csString & | result | ) |
Replace $NBUFFER[x] with values from the NPC buffer.
result | String to replace buffers in. |
void NPC::ReplaceLocations | ( | csString & | result | ) |
Replace a location.
This replace $LOCATION[<location>.<attribute>].
void NPC::ScopedTimerCallback | ( | const ScopedTimer * | timer | ) | [virtual] |
Callback for debug scope timers.
Implements ScopedTimerCB.
void NPC::SetActor | ( | gemNPCActor * | actor | ) |
void NPC::SetAlive | ( | bool | a | ) |
void NPC::SetBrain | ( | NPCType * | type | ) |
Sets a new brain (npctype) to this npc.
type | The new type to assign to this npc. |
void NPC::SetBuffer | ( | const csString & | bufferName, |
const csString & | value | ||
) |
Set/Update the value of a named buffer.
bufferName | The buffer name. |
value | The value to put in the buffer. |
void NPC::SetBufferMemory | ( | Tribe::Memory * | memory | ) |
void NPC::SetBuildingSpot | ( | Tribe::Asset * | buildingSpot | ) |
Set a building spot for this NPC.
buildingSpot | The building spot to set. |
void NPC::SetInsideRegion | ( | bool | inside | ) | [inline] |
void NPC::SetInsideTribeHome | ( | bool | inside | ) | [inline] |
void NPC::SetLastPerception | ( | Perception * | pcpt | ) |
void NPC::SetLocate | ( | const csString & | destination, |
const NPC::Locate & | locate | ||
) |
Set the NPCs locate.
void NPC::SetOwner | ( | EID | owner_EID | ) |
Sets the owner of this npc.
The server will send us the owner of the entity connected to it so we can follow it's directions.
owner_EID | the eid of the entity who owns this npc. |
void NPC::SetTarget | ( | gemNPCObject * | t | ) |
void NPC::SetTribe | ( | Tribe * | new_tribe | ) |
Set a new tribe for this npc.
void NPC::SetTribeMemberType | ( | const char * | tribeMemberType | ) |
Set the type/class for this npc in a tribe.
void NPC::StoreSpawnPosition | ( | ) |
Store the start position.
Store the current position as spawn position so that NPCs can locate spawn position.
void NPC::TakeControl | ( | gemNPCActor * | actor | ) |
Take control of another entity.
void NPC::Tick | ( | ) |
void NPC::TickPostProcess | ( | csTicks | when | ) | [protected] |
Handle post tick processing.
void NPC::TriggerEvent | ( | Perception * | pcpt, |
float | maxRange = -1.0 , |
||
csVector3 * | basePos = NULL , |
||
iSector * | baseSector = NULL , |
||
bool | sameSector = false |
||
) |
Send a perception to this NPC.
This will send the perception to this npc. If the maxRange has been set to something greater than 0.0 a range check will be applied. Only if within the range from the base position and sector will this perception be triggered.
pcpt | Perception to be sent. |
maxRange | If greater then 0.0 then max range apply |
basePos | The base position for range checks. |
baseSector | The base sector for range checks. |
sameSector | Only trigger if in same sector |
void NPC::TriggerEvent | ( | const char * | pcpt | ) |
Send a perception to this NPC.
Uses the above method, but acts as a wrapper. Receives only the name of the perception and uses default values for the rest of the arguments
void NPC::UpdateControlled | ( | ) |
Update entities controlled by this NPC.
Locate* NPC::activeLocate [protected] |
bool NPC::alive [protected] |
float NPC::ang_vel [protected] |
csArray<csString> NPC::autoMemorizeTypes [protected] |
NPCType* NPC::brain [protected] |
bool NPC::checked [protected] |
csVector3 NPC::checkedPos [protected] |
bool NPC::checkedResult [protected] |
iSector* NPC::checkedSector [protected] |
csArray< csWeakRef<gemNPCActor> > NPC::controlledActors [protected] |
bool NPC::disabled [protected] |
uint8_t NPC::DRcounter [protected] |
int NPC::fallCounter [protected] |
HateList NPC::hatelist [protected] |
bool NPC::insideRegion [protected] |
bool NPC::insideTribeHome [protected] |
Perception* NPC::last_perception [protected] |
csTicks NPC::last_update [protected] |
float NPC::lastDrAngVel [protected] |
bool NPC::lastDrMoving [protected] |
csVector3 NPC::lastDrPosition [protected] |
iSector* NPC::lastDrSector [protected] |
csTicks NPC::lastDrTime [protected] |
csVector3 NPC::lastDrVel [protected] |
float NPC::lastDrYRot [protected] |
Stat NPC::menStamina [protected] |
iMovable* NPC::movable [protected] |
gemNPCActor* NPC::npcActor [protected] |
NPCType* NPC::oldbrain [protected] |
csString NPC::origtype [protected] |
EID NPC::owner_id [protected] |
Stat NPC::pysStamina [protected] |
psNPCRaceListMessage::NPCRaceInfo_t* NPC::raceInfo [protected] |
LocationType* NPC::region [protected] |
csString NPC::region_name [protected] |
float NPC::runVelocity [protected] |
float NPC::scale [protected] |
csVector3 NPC::spawnPosition [protected] |
iSector* NPC::spawnSector [protected] |
LocateHash NPC::storedLocates [protected] |
EID NPC::target_id [protected] |
Tribe* NPC::tribe [protected] |
csString NPC::tribeMemberType [protected] |
float NPC::walkVelocity [protected] |