Planeshift
|
An object that the client knows about. More...
#include <pscelclient.h>
Public Member Functions | |
virtual void | ChangeName (const char *name) |
virtual bool | CheckLoadStatus () |
Delayed mesh loading. More... | |
int | Flags () |
Get the flag bit field. More... | |
GEMClientObject () | |
GEMClientObject (psCelClient *cel, EID id) | |
virtual const csBox3 & | GetBBox () const |
Return the bounding box of this entity. More... | |
EID | GetEID () |
psEffect * | GetEntityLabel () |
const char * | GetFactName () |
virtual int | GetMasqueradeType () |
iMeshWrapper * | GetMesh () const |
Get the mesh that this object has. More... | |
virtual const char * | GetName () |
virtual GEMOBJECT_TYPE | GetObjectType () |
virtual csVector3 | GetPosition () |
Get position of entity. More... | |
virtual float | GetRotation () |
Get rotation of entity as returned by psWorld::Matrix2YRot. More... | |
virtual iSector * | GetSector () const |
Get sector of entity. More... | |
virtual iSectorList * | GetSectors () const |
Get list of sectors that entity is in. More... | |
psEffect * | GetShadow () |
int | GetType () |
bool | HasLabel () const |
bool | HasShadow () const |
virtual bool | IsAlive () |
Indicate if this object is alive. More... | |
void | LoadMesh () |
Start loading the mesh. More... | |
void | Move (const csVector3 &pos, const csVector3 &rotangle, const char *room) |
Set the position of mesh. More... | |
virtual void | PostLoad (bool) |
Delayed load 'post-process'. More... | |
float | RangeTo (GEMClientObject *obj, bool ignoreY) |
void | Rotate (float xRot, float yRot, float zRot) |
Set the rotation of mesh. More... | |
void | SetEntityLabel (psEffect *el) |
virtual void | SetPosition (const csVector3 &pos, const csVector3 &rot, iSector *sector) |
Set position of entity. More... | |
void | SetShadow (psEffect *shadow) |
void | SubstituteRacialMeshFact () |
Performs helm group substitutions. More... | |
virtual void | Update () |
virtual | ~GEMClientObject () |
![]() | |
virtual | ~DelayedLoader () |
Static Public Member Functions | |
static void | UnsetCelClient () |
Public Attributes | |
csRef< iMeshWrapper > | pcmesh |
Protected Attributes | |
EID | eid |
psEffect * | entitylabel |
csString | factName |
int | flags |
Various flags on the entity. More... | |
bool | hasLabel |
bool | hasShadow |
csRef< InstanceObject > | instance |
csString | matName |
csString | name |
csRef< csShaderVariable > | position |
psEffect * | shadow |
int | type |
Static Protected Attributes | |
static psCelClient * | cel |
An object that the client knows about.
This is the base object for any 'entity' that the client can be sent.
Definition at line 373 of file pscelclient.h.
GEMClientObject::GEMClientObject | ( | ) |
GEMClientObject::GEMClientObject | ( | psCelClient * | cel, |
EID | id | ||
) |
|
virtual |
|
virtual |
|
inlinevirtual |
Delayed mesh loading.
Implements DelayedLoader.
Reimplemented in GEMClientItem, and GEMClientActor.
Definition at line 507 of file pscelclient.h.
|
inline |
Get the flag bit field.
Definition at line 480 of file pscelclient.h.
|
virtual |
Return the bounding box of this entity.
|
inline |
Definition at line 427 of file pscelclient.h.
|
inline |
Definition at line 451 of file pscelclient.h.
|
inline |
Definition at line 446 of file pscelclient.h.
|
virtual |
Reimplemented in GEMClientActor.
iMeshWrapper* GEMClientObject::GetMesh | ( | ) | const |
Get the mesh that this object has.
|
inlinevirtual |
Definition at line 440 of file pscelclient.h.
|
inlinevirtual |
Reimplemented in GEMClientActionLocation, GEMClientItem, and GEMClientActor.
Definition at line 380 of file pscelclient.h.
|
virtual |
Get position of entity.
|
virtual |
Get rotation of entity as returned by psWorld::Matrix2YRot.
|
virtual |
Get sector of entity.
Reimplemented in GEMClientActor.
|
virtual |
Get list of sectors that entity is in.
|
inline |
Definition at line 460 of file pscelclient.h.
|
inline |
Definition at line 435 of file pscelclient.h.
|
inline |
Definition at line 499 of file pscelclient.h.
|
inline |
Definition at line 494 of file pscelclient.h.
|
inlinevirtual |
Indicate if this object is alive.
Reimplemented in GEMClientActor.
Definition at line 472 of file pscelclient.h.
void GEMClientObject::LoadMesh | ( | ) |
Start loading the mesh.
void GEMClientObject::Move | ( | const csVector3 & | pos, |
const csVector3 & | rotangle, | ||
const char * | room | ||
) |
Set the position of mesh.
pos | the coordinates of the mesh |
rotangle | the y axis rotation of the mesh |
room | the sector in which the mesh is moved to |
|
inlinevirtual |
Delayed load 'post-process'.
Definition at line 515 of file pscelclient.h.
float GEMClientObject::RangeTo | ( | GEMClientObject * | obj, |
bool | ignoreY | ||
) |
Set the rotation of mesh.
xRot | the variable used to set the x rotation of the item |
yRot | the variable used to set the x rotation of the item |
zRot | the variable used to set the z rotation of the item |
|
inline |
Definition at line 455 of file pscelclient.h.
|
virtual |
Set position of entity.
|
inline |
Definition at line 464 of file pscelclient.h.
void GEMClientObject::SubstituteRacialMeshFact | ( | ) |
Performs helm group substitutions.
|
inlinestatic |
Definition at line 520 of file pscelclient.h.
|
virtual |
Reimplemented in GEMClientActor.
|
staticprotected |
Definition at line 526 of file pscelclient.h.
|
protected |
Definition at line 531 of file pscelclient.h.
|
protected |
Definition at line 535 of file pscelclient.h.
|
protected |
Definition at line 529 of file pscelclient.h.
|
protected |
Various flags on the entity.
Definition at line 534 of file pscelclient.h.
|
protected |
Definition at line 537 of file pscelclient.h.
|
protected |
Definition at line 538 of file pscelclient.h.
|
protected |
Definition at line 540 of file pscelclient.h.
|
protected |
Definition at line 530 of file pscelclient.h.
|
protected |
Definition at line 528 of file pscelclient.h.
csRef<iMeshWrapper> GEMClientObject::pcmesh |
Definition at line 431 of file pscelclient.h.
|
protected |
Definition at line 541 of file pscelclient.h.
|
protected |
Definition at line 536 of file pscelclient.h.
|
protected |
Definition at line 532 of file pscelclient.h.