Planeshift
|
Any PS Object with which a player may have interaction (i.e. More...
#include <gem.h>
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) |
Any PS Object with which a player may have interaction (i.e.
clickable).
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 | ||
) |
virtual void gemActiveObject::Broadcast | ( | int | clientnum, |
bool | control | ||
) | [virtual] |
clientnum | The client that initiated this update. |
control | Set 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.
virtual bool gemActiveObject::IsConstructible | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsContainer | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsLockable | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsLocked | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsPickupable | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsPickupableStrong | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsPickupableWeak | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::IsSecutityLocked | ( | ) | [inline, virtual] |
virtual bool gemActiveObject::Send | ( | int | clientnum, |
bool | control, | ||
bool | to_superclients, | ||
psPersistAllEntities * | allEntities = NULL |
||
) | [inline, virtual] |
Send this object to the given client.
clientnum | The client that initiated this update. |
control | Set to true when sent to the controlling client. |
to_superclients | Send to super clients |
allEntities | Buffer the message instead of sending it. |
Reimplemented from gemObject.
Reimplemented in gemItem, and gemActionLocation.
virtual void gemActiveObject::SendBehaviorMessage | ( | const csString & | str, |
gemObject * | obj | ||
) | [virtual] |
Reimplemented from gemObject.
Reimplemented in gemItem, and gemActionLocation.