Drag[en]gine Script Module DragonScript
1.21
|
String identifier value element class property for use with XML loading. More...
Public Member Functions | |
void | copyValue (ElementClass elementClass, ElementClassProperty property) |
Copy value from another element class property of the same type. More... | |
StringID | getValue () |
Value. More... | |
StringID | getValue (StubWithProperties stub) |
String value value modified by stub property if present. More... | |
ECPStringID | new (String name) |
Create property. More... | |
ECPStringID | new (String name, StringID value) |
Create property. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
void | setValue (StringID value) |
Set value. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
String identifier value element class property for use with XML loading.
void Dragengine.Scenery.ECPStringID.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
StringID Dragengine.Scenery.ECPStringID.getValue | ( | ) |
Value.
StringID Dragengine.Scenery.ECPStringID.getValue | ( | StubWithProperties | stub | ) |
String value value modified by stub property if present.
If named stub property is not present the stored value is returned. If the named stub property is present and is empty string null is returned. otherwise the named stub property value is returned.
ECPStringID Dragengine.Scenery.ECPStringID.new | ( | String | name | ) |
Create property.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
ECPStringID Dragengine.Scenery.ECPStringID.new | ( | String | name, |
StringID | value | ||
) |
Create property.
void Dragengine.Scenery.ECPStringID.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPStringID.setValue | ( | StringID | value | ) |
Set value.