classes.
|
Public Member Functions |
| CCommon (CObjectModule *m, int id) |
virtual | ~CCommon () |
| Destructor.
|
bool | NeedSynch () |
| Returns whether this CCommon instance requires synchronization.
|
int & | SynchMode () |
| Returns the current synchronization mode of this instance.
|
virtual void | Serialize (CPacket *packet)=0 |
| Serializes the CCommon into a packet.
|
virtual void | Deserialize (CPacket *packet)=0 |
| Deserializes the CCommon from a packet.
|
int | GetId () |
| "id" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetName () |
| "name" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetName (string name) |
| "name" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetMesh () |
| "mesh" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetMesh (string mesh) |
| "mesh" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
Vector3 | GetOrigin () |
| "origin" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetOrigin (Vector3 origin) |
| "origin" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
virtual Vector3 | GetDirection () |
| "dir" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
virtual void | SetDirection (Vector3 dir) |
| "dir" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
Vector3 | GetVelocity () |
| "vel" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetVelocity (Vector3 vel) |
| "vel" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetVisible (bool visible) |
| "visible" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
bool | GetVisible () |
| "visible" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetShowBody (bool show) |
| "showbody" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
bool | GetShowBody () |
| "showbody" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
float | GetTimer () |
| "timer" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetTimer (float timer) |
| "timer" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetTimerCB () |
| "timerCB" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetTimerCB (string cb) |
| "timerCB" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetWav () |
| "wav" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetWav (string wav) |
| "wav" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetWavDist (float dist) |
| "wavdist" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
float | GetWavDist () |
| "wavdist" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetMaterial (string mat) |
| "material" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetMaterial () |
| "material" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetAFactor (float factor) |
| "afactor" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
float | GetAFactor () |
| "afactor" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetPFactor (float factor) |
| "pfactor" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
float | GetPFactor () |
| "pfactor" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
int | GetStick () |
| "stick" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetStick (int id) |
| "stick" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
Vector3 | GetStickPos () |
| "stickpos" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetStickPos (Vector3 pos) |
| "stickpos" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
Vector3 | GetStickDir () |
| "stickdir" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetStickDir (Vector3 dir) |
| "stickdir" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
float | GetOrder () |
| "order" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
virtual void | SetOrder (float speed) |
| "order" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetOrderPos (Vector3 pos) |
| "orderpos" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
Vector3 | GetOrderPos () |
| "orderpos" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetOrderCB (string cb) |
| "orderCB" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetOrderCB () |
| "orderCB" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
float | GetOrderCheck () |
| "ordercheck" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetOrderCheck (float check) |
| "ordercheck" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetOvermapMesh (string mesh) |
| "ommesh" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetOvermapMesh () |
| "ommesh" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | SetSelectable (bool selectable) |
| "selectable" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
bool | GetSelectable () |
| "selectable" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
void | ShowSelectionBox (bool tf) |
void | SetParticle (string ptl) |
| "particle" property setter. See OPSIMUS Scenario Scripting Guide for details.
|
string | GetParticle () |
| "particle" property getter. See OPSIMUS Scenario Scripting Guide for details.
|
virtual int | GetType ()=0 |
| Returns the type identifier of this instance. Used to denote whether this commons is a CPlayer or CObject.
|
virtual void | Update (float seconds) |
| Executes the CCommon for a number of seconds.
|
void | UpdateFromThing () |
| Updates the CCommons physical properties.
|
virtual void | SetFromString (const char *prop, const char *value) |
virtual void | CloneInto (CCommon *c) |
| Clones this CCommon into another one.
|
virtual void | Set (const char *prop, object value) |
virtual object | Get (const char *prop) |
classes.