Drag[en]gine Script Module DragonScript
1.23
|
String 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... | |
String | getValue () |
Value. More... | |
String | getValue (StubWithProperties stub) |
String value value modified by stub property if present. More... | |
String | getValueOrEmpty (StubWithProperties stub) |
String value value modified by stub property if present. More... | |
String | getValueOrNull (StubWithProperties stub) |
String value value modified by stub property if present. More... | |
ECPString | new (String name, String value) |
Create property. More... | |
void | setValue (Object value) |
Set value of property from XML decoded 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... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
String value element class property for use with XML loading.
void Dragengine.Scenery.ECPString.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
String Dragengine.Scenery.ECPString.getValue | ( | ) |
Value.
String Dragengine.Scenery.ECPString.getValue | ( | StubWithProperties | stub | ) |
String value value modified by stub property if present.
If named stub property is not present stored value is returned. If the named stub property is present it is returned.
String Dragengine.Scenery.ECPString.getValueOrEmpty | ( | StubWithProperties | stub | ) |
String value value modified by stub property if present.
If named stub property is not present stored value is returned. If the named stub property is present it is returned. If the value to be returned is null empty string is returned.
String Dragengine.Scenery.ECPString.getValueOrNull | ( | StubWithProperties | stub | ) |
String value value modified by stub property if present.
If named stub property is not present stored value is returned. If the named stub property is present it is returned. If the value to be returned is empty string null is returned.
ECPString Dragengine.Scenery.ECPString.new | ( | String | name, |
String | value | ||
) |
Create property.
void Dragengine.Scenery.ECPString.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.