#include <psproxlist.h>
|
void | AddWatcher (gemObject *interestedobject, float range) |
| Adds 'interestedobject' to 'objectsThatWatchMe'. More...
|
|
bool | FindObject (gemObject *object) |
|
bool | FindObjectThatIWatch (gemObject *object) |
|
PublishDestination * | FindObjectThatWatchesMe (gemObject *object, uint &x) |
|
bool | IsNear (iSector *sector, csVector3 &pos, gemObject *object, float radius) |
|
void | RemoveWatcher (gemObject *object) |
| Removes 'interestedobject' from 'objectsThatWatchMe'. More...
|
|
void | TouchObjectThatWatchesMe (gemObject *object, float newrange) |
|
void | UpdatePublishDestRange (PublishDestination *pd, gemObject *myself, gemObject *object, uint objIdx, float newrange) |
|
Definition at line 54 of file psproxlist.h.
ProximityList::ProximityList |
( |
iObjectRegistry * |
object_reg, |
|
|
gemObject * |
parent, |
|
|
EntityManager * |
entitymanager |
|
) |
| |
ProximityList::~ProximityList |
( |
| ) |
|
void ProximityList::AddWatcher |
( |
gemObject * |
interestedobject, |
|
|
float |
range |
|
) |
| |
|
protected |
Adds 'interestedobject' to 'objectsThatWatchMe'.
bool ProximityList::CheckUpdateRequired |
( |
| ) |
|
Check if an update is required for this object based on moved range and changed instance.
void ProximityList::ClearTouched |
( |
| ) |
|
void ProximityList::DebugDumpContents |
( |
csString & |
out | ) |
|
bool ProximityList::EndMutualWatching |
( |
gemObject * |
fromobject | ) |
|
Deletes relation watcher –> watched in both directions between our object and given object.
void ProximityList::EndWatching |
( |
gemObject * |
object | ) |
|
Deletes relation watcher –> watched between our object and given object.
bool ProximityList::FindClient |
( |
uint32_t |
cnum | ) |
|
bool ProximityList::FindObject |
( |
gemObject * |
object | ) |
|
|
protected |
gemObject* ProximityList::FindObjectName |
( |
const char * |
name | ) |
|
bool ProximityList::FindObjectThatIWatch |
( |
gemObject * |
object | ) |
|
|
protected |
int ProximityList::GetClientID |
( |
| ) |
|
|
inline |
bool ProximityList::GetUntouched_ObjectThatIWatch |
( |
gemObject *& |
object | ) |
|
bool ProximityList::GetUntouched_ObjectThatWatchesMe |
( |
gemObject *& |
object | ) |
|
bool ProximityList::Initialize |
( |
int |
cnum, |
|
|
gemObject * |
parent |
|
) |
| |
bool ProximityList::IsNear |
( |
iSector * |
sector, |
|
|
csVector3 & |
pos, |
|
|
gemObject * |
object, |
|
|
float |
radius |
|
) |
| |
|
protected |
float ProximityList::RangeTo |
( |
gemObject * |
object, |
|
|
bool |
ignoreY = false , |
|
|
bool |
ignoreInstance = false |
|
) |
| |
void ProximityList::RemoveWatcher |
( |
gemObject * |
object | ) |
|
|
protected |
Removes 'interestedobject' from 'objectsThatWatchMe'.
bool ProximityList::StartMutualWatching |
( |
int |
othercnum, |
|
|
gemObject * |
otherObject, |
|
|
float |
range |
|
) |
| |
Creates relation watcher –> watched in both directions between our object and given object.
Creates relation watcher –> watched between our object and given object Returns: true if new relation was added.
void ProximityList::TouchObjectThatWatchesMe |
( |
gemObject * |
object, |
|
|
float |
newrange |
|
) |
| |
|
protected |
int ProximityList::clientnum |
|
protected |
csArray<csTicks> ProximityList::destRangeTimer |
|
protected |
Per-object timeout on dest range checks.
Definition at line 61 of file psproxlist.h.
bool ProximityList::firstFrame |
|
protected |
csArray<gemObject*> ProximityList::objectsThatIWatch |
|
protected |
What objects am I subscribed to myself?
Definition at line 60 of file psproxlist.h.
csArray<bool> ProximityList::objectsThatIWatch_touched |
|
protected |
What players are subscribed to my updates?
Definition at line 59 of file psproxlist.h.
csArray<bool> ProximityList::objectsThatWatchMe_touched |
|
protected |
csVector3 ProximityList::oldPos |
|
protected |
The documentation for this class was generated from the following file: