Base class for object instances recognized by the interpreter. These object instances may contain member fields addressable the interpreter as well as tagged fields which are arbitrarily mapped values.
More...
#include <consoleobject.hpp>
Base class for object instances recognized by the interpreter. These object instances may contain member fields addressable the interpreter as well as tagged fields which are arbitrarily mapped values.
◆ getClassName()
virtual std::string TorqueScript::ConsoleObject::getClassName |
( |
| ) |
|
|
pure virtual |
◆ getTaggedField()
StoredValue* TorqueScript::ConsoleObject::getTaggedField |
( |
const std::string & |
name | ) |
|
Retrieves a tagged field by name from the object.
- Parameters
-
The | tagged field name to retrieve, which is case insensitive. |
- Returns
- A StoredValue pointer of the value currently in that tagged field slot.
◆ setTaggedField()
void TorqueScript::ConsoleObject::setTaggedField |
( |
const std::string & |
name, |
|
|
StoredValue |
value |
|
) |
| |
Sets a tagged field by name on the object.
- Parameters
-
name | The tagged field name to set, which is case insensitive. |
value | The value to set. |
The documentation for this class was generated from the following file: