Planeshift
GEMClientItem Class Reference

An item on the client. More...

#include <pscelclient.h>

Public Member Functions

virtual bool CheckLoadStatus ()
 Delayed mesh loading. More...
 
 GEMClientItem (psCelClient *cel, psPersistItem &mesg)
 
virtual GEMOBJECT_TYPE GetObjectType ()
 
virtual ~GEMClientItem ()
 
- Public Member Functions inherited from GEMClientObject
virtual void ChangeName (const char *name)
 
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 ()
 
psEffectGetEntityLabel ()
 
const char * GetFactName ()
 
virtual int GetMasqueradeType ()
 
iMeshWrapper * GetMesh () const
 Get the mesh that this object has. More...
 
virtual const char * GetName ()
 
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...
 
psEffectGetShadow ()
 
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 ()
 
- Public Member Functions inherited from DelayedLoader
virtual ~DelayedLoader ()
 

Protected Member Functions

csPtr< iMaterialWrapper > CloneMaterial (iMaterialWrapper *material)
 create a new material based on existing using instancing shaders. More...
 
virtual void PostLoad ()
 

Protected Attributes

psSolidsolid
 
- Protected Attributes inherited from GEMClientObject
EID eid
 
psEffectentitylabel
 
csString factName
 
int flags
 Various flags on the entity. More...
 
bool hasLabel
 
bool hasShadow
 
csRef< InstanceObjectinstance
 
csString matName
 
csString name
 
csRef< csShaderVariable > position
 
psEffectshadow
 
int type
 

Additional Inherited Members

- Static Public Member Functions inherited from GEMClientObject
static void UnsetCelClient ()
 
- Public Attributes inherited from GEMClientObject
csRef< iMeshWrapper > pcmesh
 
- Static Protected Attributes inherited from GEMClientObject
static psCelClientcel
 

Detailed Description

An item on the client.

Definition at line 770 of file pscelclient.h.

Constructor & Destructor Documentation

GEMClientItem::GEMClientItem ( psCelClient cel,
psPersistItem mesg 
)
virtual GEMClientItem::~GEMClientItem ( )
virtual

Member Function Documentation

virtual bool GEMClientItem::CheckLoadStatus ( )
virtual

Delayed mesh loading.

Reimplemented from GEMClientObject.

csPtr<iMaterialWrapper> GEMClientItem::CloneMaterial ( iMaterialWrapper *  material)
protected

create a new material based on existing using instancing shaders.

virtual GEMOBJECT_TYPE GEMClientItem::GetObjectType ( )
inlinevirtual

Reimplemented from GEMClientObject.

Definition at line 776 of file pscelclient.h.

virtual void GEMClientItem::PostLoad ( )
protectedvirtual

Member Data Documentation

psSolid* GEMClientItem::solid
protected

Definition at line 791 of file pscelclient.h.


The documentation for this class was generated from the following file: