SimObject
Creating SimObjects
$obj = new SimObject() {
someDynamicVariable = "2.0";
};// Step 1 - Initialize the object
SimObject* obj = new SimObject();
// Step 2 - Apply the fields inside the initializer
obj->setFieldValue("someDynamicVariable", "2.0");
// Step 3 - Call "registerObject"
obj->registerObject();Destroying SimObjects
Last updated
