|
| | ScriptObject () |
| |
| | DECLARE_CONOBJECT (ScriptObject) |
| |
| | BehaviorComponent () |
| |
| virtual | ~BehaviorComponent () |
| |
| virtual bool | onAdd () |
| | SimObject overrides.
|
| |
| virtual void | onRemove () |
| | Called when the object is removed from the sim.
|
| |
| virtual void | onDeleteNotify (SimObject *object) |
| |
| virtual void | copyTo (SimObject *object) |
| |
| BehaviorInstance * | getBehaviorByInstanceId (const U32 behaviorId) |
| | Behavior interface.
|
| |
| virtual bool | addBehavior (BehaviorInstance *bi) |
| |
| virtual bool | removeBehavior (BehaviorInstance *bi, bool deleteBehavior=true) |
| |
| virtual void | clearBehaviors () |
| |
| virtual U32 | getBehaviorCount () const |
| |
| virtual const SimSet & | getBehaviors () const |
| |
| virtual BehaviorInstance * | getBehavior (StringTableEntry behaviorTemplateName) |
| |
| virtual BehaviorInstance * | getBehavior (const U32 index) |
| |
| virtual bool | reOrder (BehaviorInstance *obj, U32 desiredIndex) |
| |
| bool | connect (BehaviorInstance *pOutputBehavior, BehaviorInstance *pInputBehavior, StringTableEntry pOutputName, StringTableEntry pInputName) |
| | Behavior connectivity.
|
| |
| bool | disconnect (BehaviorInstance *pOutputBehavior, BehaviorInstance *pInputBehavior, StringTableEntry pOutputName, StringTableEntry pInputName) |
| |
| bool | raise (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName) |
| |
| U32 | getBehaviorConnectionCount (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName) |
| |
| const BehaviorPortConnection * | getBehaviorConnection (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName, const U32 connectionIndex) |
| |
| const typePortConnectionVector * | getBehaviorConnections (BehaviorInstance *pOutputBehavior, StringTableEntry pOutputName) |
| |
| virtual bool | handlesConsoleMethod (const char *fname, S32 *routingId) |
| | DynamicConsoleMethodComponent Overrides.
|
| |
| virtual const char * | callOnBehaviors (U32 argc, const char *argv[]) |
| |
| virtual void | write (Stream &stream, U32 tabStop, U32 flags=0) |
| | SimComponent overrides.
|
| |
| | DECLARE_CONOBJECT (BehaviorComponent) |
| |
| const char * | callMethod (S32 argc, const char *methodName,...) |
| | Call Method format string.
|
| |
| virtual const char * | callMethodArgList (U32 argc, const char *argv[], bool callThis=true) |
| | Call Method.
|
| |
| | DECLARE_CONOBJECT (DynamicConsoleMethodComponent) |
| |
| | DECLARE_CONOBJECT (SimComponent) |
| |
| | SimComponent () |
| |
| virtual | ~SimComponent () |
| |
| virtual bool | processArguments (S32 argc, const char **argv) |
| | Process constructor options. (ie, new SimObject(1,2,3))
|
| |
| bool | hasComponents () const |
| | Will return true if this object contains components.
|
| |
| const SimComponent * | getOwner () const |
| | The component which owns this object.
|
| |
| virtual StringTableEntry | getComponentName () |
| |
| virtual bool | addComponent (SimComponent *component) |
| | Add Component to this one.
|
| |
| virtual bool | removeComponent (SimComponent *component) |
| | Remove Component from this one.
|
| |
| virtual bool | clearComponents () |
| | Clear Child components of this one.
|
| |
| virtual bool | onComponentAdd (SimComponent *target) |
| |
| virtual void | onComponentRemove (SimComponent *target) |
| |
| U32 | getComponentCount () |
| |
| SimComponent * | getComponent (const U32 index) |
| |
| virtual void | setEnabled (const bool enabled) |
| |
| bool | isEnabled () const |
| |
| virtual bool | writeField (StringTableEntry fieldname, const char *value) |
| |
| virtual void | onUpdate (void) |
| |
| virtual void | onAddToScene (void) |
| |
| virtual void | onRemoveFromScene (void) |
| |
| bool | callMethodOnComponents (U32 argc, const char *argv[], const char **result) |
| |
| StringTableEntry | getClassNamespace () const |
| |
| StringTableEntry | getSuperClassNamespace () const |
| |
| void | setClassNamespace (const char *classNamespace) |
| |
| void | setSuperClassNamespace (const char *superClassNamespace) |
| |
| void | pushScriptCallbackGuard (void) |
| |
| void | popScriptCallbackGuard (void) |
| |
| S32 | getScriptCallbackGuard (void) |
| |
| virtual SimObject * | findObject (const char *name) |
| |
| Namespace * | getNamespace () |
| | Return the object's namespace.
|
| |
| const char * | tabComplete (const char *prevText, S32 baseLen, bool) |
| |
| virtual void | dump () |
| |
| virtual void | dumpClassHierarchy () |
| |
| SimObject * | clone (const bool copyDynamicFields) |
| |
| template<typename T > |
| bool | isType (void) |
| |
| | DECLARE_CONOBJECT (SimObject) |
| |
| Notify * | removeNotify (void *ptr, Notify::Type) |
| | Remove a notification from the list.
|
| |
| void | deleteNotify (SimObject *obj) |
| | Notify an object when we are deleted.
|
| |
| void | clearNotify (SimObject *obj) |
| | Notify an object when we are cleared.
|
| |
| void | clearAllNotifications () |
| | Remove all notifications for this object.
|
| |
| void | processDeleteNotifies () |
| | Send out deletion notifications.
|
| |
| void | registerReference (SimObject **obj) |
| |
| void | unregisterReference (SimObject **obj) |
| |
| void | addListener (std::string objID) |
| |
| void | removeListener (std::string objID) |
| |
| void | removeAllListeners () |
| |
| void | postEvent (std::string eventName, std::string data) |
| |
| const char * | getDataField (StringTableEntry slotName, const char *array) |
| |
| virtual void | setDataField (StringTableEntry slotName, const char *array, const char *value) |
| |
| const char * | getPrefixedDataField (StringTableEntry fieldName, const char *array) |
| |
| void | setPrefixedDataField (StringTableEntry fieldName, const char *array, const char *value) |
| |
| const char * | getPrefixedDynamicDataField (StringTableEntry fieldName, const char *array, const S32 fieldType=-1) |
| |
| void | setPrefixedDynamicDataField (StringTableEntry fieldName, const char *array, const char *value, const S32 fieldType=-1) |
| |
| StringTableEntry | getDataFieldPrefix (StringTableEntry fieldName) |
| |
| U32 | getDataFieldType (StringTableEntry slotName, const char *array) |
| |
| SimFieldDictionary * | getFieldDictionary () |
| |
| void | clearDynamicFields (void) |
| | Clear all dynamic fields.
|
| |
| void | setCanSaveDynamicFields (bool bCanSave) |
| | Set whether fields created at runtime should be saved. Default is true.
|
| |
| bool | getCanSaveDynamicFields (void) const |
| | Get whether fields created at runtime should be saved. Default is true.
|
| |
| void | setInternalName (const char *newname) |
| |
| StringTableEntry | getInternalName () |
| | Get the internal of of this control.
|
| |
| virtual bool | save (const char *pcFilePath, bool bOnlySelected=false) |
| | Save object as a TorqueScript File.
|
| |
| virtual bool | isMethod (const char *methodName) |
| | Check if a method exists in the objects current namespace.
|
| |
| SimObjectId | getId (void) const |
| |
| StringTableEntry | getIdString (void) const |
| |
| U32 | getType () const |
| |
| const StringTableEntry | getName (void) const |
| |
| void | setId (SimObjectId id) |
| |
| void | assignName (const char *name) |
| |
| SimGroup * | getGroup () const |
| |
| bool | isChildOfGroup (SimGroup *pGroup) |
| |
| bool | isProperlyAdded () const |
| |
| bool | isDeleted () const |
| |
| bool | isRemoved () const |
| |
| bool | isLocked () const |
| |
| void | setLocked (bool b) |
| |
| bool | isHidden () const |
| |
| void | setHidden (bool b) |
| |
| void | setProgenitorFile (const char *pFile) |
| |
| StringTableEntry | getProgenitorFile (void) const |
| |
| void | setPeriodicTimerID (const S32 timerID) |
| |
| S32 | getPeriodicTimerID (void) const |
| |
| bool | isPeriodicTimerActive (void) const |
| |
| bool | isSelected () const |
| |
| bool | isExpanded () const |
| |
| void | setSelected (bool sel) |
| |
| void | setExpanded (bool exp) |
| |
| void | setModDynamicFields (bool dyn) |
| |
| void | setModStaticFields (bool sta) |
| |
| | SimObject () |
| |
| virtual | ~SimObject () |
| |
| virtual void | onGroupAdd () |
| | Called when the object is added to a SimGroup.
|
| |
| virtual void | onGroupRemove () |
| | Called when the object is removed from a SimGroup.
|
| |
| virtual void | onNameChange (const char *name) |
| | Called when the object's name is changed.
|
| |
| virtual void | onStaticModified (const char *slotName, const char *newValue=NULL) |
| |
| virtual void | inspectPreApply () |
| |
| virtual void | inspectPostApply () |
| |
| virtual void | onEditorEnable () |
| | Called when the editor is activated.
|
| |
| virtual void | onEditorDisable () |
| | Called when the editor is deactivated.
|
| |
| bool | registerObject () |
| |
| bool | registerObject (U32 id) |
| |
| bool | registerObject (const char *name) |
| |
| bool | registerObject (const char *name, U32 id) |
| |
| void | unregisterObject () |
| |
| void | deleteObject () |
| |
| bool | addToSet (SimObjectId) |
| |
| bool | addToSet (const char *) |
| |
| bool | removeFromSet (SimObjectId) |
| |
| bool | removeFromSet (const char *) |
| |
| virtual void | writeFields (Stream &stream, U32 tabStop) |
| |
| virtual bool | writeObject (Stream *stream) |
| |
| virtual bool | readObject (Stream *stream) |
| |
| virtual void | buildFilterList () |
| |
| void | addFieldFilter (const char *fieldName) |
| |
| void | removeFieldFilter (const char *fieldName) |
| |
| void | clearFieldFilters () |
| |
| bool | isFiltered (const char *fieldName) |
| |
| void | assignFieldsFrom (SimObject *obj) |
| |
| void | assignDynamicFieldsFrom (SimObject *obj) |
| |
| const AbstractClassRep::Field * | findField (StringTableEntry fieldName) const |
| | Get a reference to a field by name.
|
| |
| virtual AbstractClassRep * | getClassRep () const |
| | Gets the ClassRep.
|
| |
| bool | setField (const char *fieldName, const char *value) |
| | Set the value of a field.
|
| |
| virtual | ~ConsoleObject () |
| |
| const AbstractClassRep::FieldList & | getFieldList () const |
| | Get a list of all the fields. This information cannot be modified.
|
| |
| AbstractClassRep::FieldList & | getModifiableFieldList () |
| |
| bool & | getDynamicGroupExpand () |
| |
| S32 | getClassId (U32 netClassGroup) const |
| |
| const char * | getClassName () const |
| |
|
| typedef Vector< BehaviorPortConnection > | typePortConnectionVector |
| |
| typedef HashMap< StringTableEntry, typePortConnectionVector * > | typeOutputNameConnectionHash |
| |
| typedef HashMap< SimObjectId, typeOutputNameConnectionHash * > | typeInstanceConnectionHash |
| |
| enum | WriteFlags { SelectedOnly = BIT(0)
} |
| |
| static void | initPersistFields () |
| |
| static bool | setEnabled (void *obj, const char *data) |
| |
| static bool | writeEnabled (void *obj, StringTableEntry pFieldName) |
| |
| static void | initPersistFields () |
| |
| static const char * | lookupClassName (const U32 in_classTag) |
| | Get the classname from a class tag.
|
| |
| static void | initPersistFields () |
| |
| static void | consoleInit () |
| |
| static AbstractClassRep * | getStaticClassRep () |
| | Get the abstract class information for this class.
|
| |
| static AbstractClassRep * | getParentStaticClassRep () |
| | Get the abstract class information for this class's superclass.
|
| |
| static ConsoleObject * | create (const char *in_pClassName) |
| |
| static ConsoleObject * | create (const U32 groupId, const U32 typeId, const U32 in_classId) |
| |
| typeInstanceConnectionHash | mBehaviorConnections |
| |
| static bool | disableNameChanging = false |
| |
| typedef VectorPtr< SimComponent * >::iterator | SimComponentIterator |
| | Returns a const reference to private mComponentList.
|
| |
| virtual const char * | _callMethod (U32 argc, const char *argv[], bool callThis=true) |
| |
| virtual void | onTamlCustomWrite (TamlCustomNodes &customNodes) |
| | Taml callbacks.
|
| |
| virtual void | onTamlCustomRead (const TamlCustomNodes &customNodes) |
| | Called during the reading of the object to allow custom properties to be read.
|
| |
| SimComponent * | _getOwner () |
| |
| VectorPtr< SimComponent * > & | lockComponentList () |
| |
| void | unlockComponentList () |
| |
| virtual bool | onComponentRegister (SimComponent *owner) |
| |
| virtual void | onComponentUnRegister () |
| |
| virtual void | onTamlPreWrite (void) |
| | Taml callbacks.
|
| |
| virtual void | onTamlPostWrite (void) |
| | Called after Taml has finished writing the object.
|
| |
| virtual void | onTamlPreRead (void) |
| | Called prior to Taml reading the object.
|
| |
| virtual void | onTamlPostRead (const TamlCustomNodes &customNodes) |
| |
| virtual void | onTamlAddParent (SimObject *pParentObject) |
| | Called after Taml has finished reading the object and has added the object to any parent.
|
| |
| void | linkNamespaces () |
| |
| void | unlinkNamespaces () |
| |
| | ConsoleObject () |
| |
| | ConsoleObject (const ConsoleObject &) |
| |
| static bool | setClass (void *obj, const char *data) |
| |
| static bool | setSuperClass (void *obj, const char *data) |
| |
| static bool | writeObjectName (void *obj, StringTableEntry pFieldName) |
| |
| static bool | writeCanSaveDynamicFields (void *obj, StringTableEntry pFieldName) |
| |
| static bool | writeInternalName (void *obj, StringTableEntry pFieldName) |
| |
| static bool | setParentGroup (void *obj, const char *data) |
| |
| static bool | writeParentGroup (void *obj, StringTableEntry pFieldName) |
| |
| static bool | writeSuperclass (void *obj, StringTableEntry pFieldName) |
| |
| static bool | writeClass (void *obj, StringTableEntry pFieldName) |
| |
| static bool | setProtectedName (void *obj, const char *data) |
| |
| static SimObject::Notify * | allocNotify () |
| | Get a free Notify structure.
|
| |
| static void | freeNotify (SimObject::Notify *) |
| | Mark a Notify structure as free.
|
| |
| static void | addGroup (const char *in_pGroupname, const char *in_pGroupDocs=NULL) |
| |
| static void | endGroup (const char *in_pGroupname) |
| |
| static void | addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL) |
| |
| static void | addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::WriteDataNotify in_writeDataFn, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL) |
| |
| static void | addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, const char *in_pFieldDocs) |
| |
| static void | addField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::WriteDataNotify in_writeDataFn, const char *in_pFieldDocs) |
| |
| static void | addFieldV (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, ConsoleTypeValidator *v, const char *in_pFieldDocs=NULL) |
| |
| static void | addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL) |
| |
| static void | addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, AbstractClassRep::WriteDataNotify in_writeDataFn=&defaultProtectedWriteFn, const U32 in_elementCount=1, EnumTable *in_table=NULL, const char *in_pFieldDocs=NULL) |
| |
| static void | addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, const char *in_pFieldDocs=NULL) |
| |
| static void | addProtectedField (const char *in_pFieldname, const U32 in_fieldType, const dsize_t in_fieldOffset, AbstractClassRep::SetDataNotify in_setDataFn, AbstractClassRep::GetDataNotify in_getDataFn=&defaultProtectedGetFn, AbstractClassRep::WriteDataNotify in_writeDataFn=&defaultProtectedWriteFn, const char *in_pFieldDocs=NULL) |
| |
| static void | addDepricatedField (const char *fieldName) |
| |
| static bool | removeField (const char *in_pFieldname) |
| |
| bool | mEnabled |
| |
| SimObjectId | mId |
| | Id number for this object.
|
| |
| StringTableEntry | mIdString |
| |
| Namespace * | mNameSpace |
| |
| U32 | mTypeMask |
| |
| S32 | mScriptCallbackGuard |
| | Whether the object is executing a script callback.
|
| |
| bool | mCanSaveFieldDictionary |
| | true if dynamic fields (added at runtime) should be saved, defaults to true
|
| |
| StringTableEntry | mInternalName |
| | Stores object Internal Name.
|
| |
| StringTableEntry | mClassName |
| | Stores the class name to link script class namespaces.
|
| |
| StringTableEntry | mSuperClassName |
| | Stores super class name to link script class namespaces.
|
| |
| static SimObject::Notify * | mNotifyFreeList = NULL |
| |