Planeshift
Public Member Functions

gemActiveObject Class Reference

Any PS Object with which a player may have interaction (i.e. More...

#include <gem.h>

List of all members.

Public Member Functions

virtual void Broadcast (int clientnum, bool control)
 gemActiveObject (GEMSupervisor *gemSupervisor, EntityManager *entitymanager, CacheManager *cachemanager, const char *name, const char *factname, InstanceID myInstance, iSector *room, const csVector3 &pos, float rotangle, int clientnum)
virtual csString GetDefaultBehavior (const csString &dfltBehaviors)
virtual const char * GetObjectType ()
virtual bool IsConstructible ()
virtual bool IsContainer ()
virtual bool IsLockable ()
virtual bool IsLocked ()
virtual bool IsPickupable ()
virtual bool IsPickupableStrong ()
virtual bool IsPickupableWeak ()
virtual bool IsSecutityLocked ()
virtual bool Send (int clientnum, bool control, bool to_superclients, psPersistAllEntities *allEntities=NULL)
 Send this object to the given client.
virtual void SendBehaviorMessage (const csString &str, gemObject *obj)

Detailed Description

Any PS Object with which a player may have interaction (i.e.

clickable).

Definition at line 690 of file gem.h.


Constructor & Destructor Documentation

gemActiveObject::gemActiveObject ( GEMSupervisor gemSupervisor,
EntityManager entitymanager,
CacheManager cachemanager,
const char *  name,
const char *  factname,
InstanceID  myInstance,
iSector *  room,
const csVector3 &  pos,
float  rotangle,
int  clientnum 
)

Member Function Documentation

virtual void gemActiveObject::Broadcast ( int  clientnum,
bool  control 
) [virtual]
Parameters:
clientnumThe client that initiated this update.
controlSet to true when sent to the controlling client.

Reimplemented from gemObject.

Reimplemented in gemItem, and gemActionLocation.

virtual csString gemActiveObject::GetDefaultBehavior ( const csString &  dfltBehaviors) [virtual]

Reimplemented from gemObject.

virtual const char* gemActiveObject::GetObjectType ( ) [inline, virtual]

Reimplemented from gemObject.

Reimplemented in gemItem, and gemActionLocation.

Definition at line 701 of file gem.h.

virtual bool gemActiveObject::IsConstructible ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 748 of file gem.h.

virtual bool gemActiveObject::IsContainer ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 756 of file gem.h.

virtual bool gemActiveObject::IsLockable ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 740 of file gem.h.

virtual bool gemActiveObject::IsLocked ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 744 of file gem.h.

virtual bool gemActiveObject::IsPickupable ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 728 of file gem.h.

virtual bool gemActiveObject::IsPickupableStrong ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 736 of file gem.h.

virtual bool gemActiveObject::IsPickupableWeak ( ) [inline, virtual]

Reimplemented in gemItem.

Definition at line 732 of file gem.h.

virtual bool gemActiveObject::IsSecutityLocked ( ) [inline, virtual]

Definition at line 752 of file gem.h.

virtual bool gemActiveObject::Send ( int  clientnum,
bool  control,
bool  to_superclients,
psPersistAllEntities allEntities = NULL 
) [inline, virtual]

Send this object to the given client.

Parameters:
clientnumThe client that initiated this update.
controlSet to true when sent to the controlling client.
to_superclientsSend to super clients
allEntitiesBuffer the message instead of sending it.

Reimplemented from gemObject.

Reimplemented in gemItem, and gemActionLocation.

Definition at line 720 of file gem.h.

virtual void gemActiveObject::SendBehaviorMessage ( const csString &  str,
gemObject obj 
) [virtual]

Reimplemented from gemObject.

Reimplemented in gemItem, and gemActionLocation.


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