Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ECPString Class Reference

String value element class property for use with XML loading. More...

Inheritance diagram for Dragengine.Scenery.ECPString:
Dragengine.Scenery.ElementClassProperty

Public Member Functions

void copyValue (ElementClass elementClass, ElementClassProperty property)
 Copy value from another element class property of the same type.
String getValue ()
 Value.
String getValue (StubWithProperties stub)
 String value value modified by stub property if present.
String getValueOrEmpty (StubWithProperties stub)
 String value value modified by stub property if present.
String getValueOrNull (StubWithProperties stub)
 String value value modified by stub property if present.
ECPString new (String name, String value)
 Create property.
void setValue (Object value)
 Set value of property from XML decoded value.
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty
void dispose ()
 Dispose of element class property to break reference loops.
String getName ()
 Name.
bool logPreloadProblems (ElementClass elementClass, Console console)
 Log preloading problems.
ElementClassProperty new (String name)
 Create property.
void preloadResources (ElementClass elementClass, PreloadCounter counter)
 Preload resources if supported.

Detailed Description

String value element class property for use with XML loading.

Member Function Documentation

◆ copyValue()

void Dragengine.Scenery.ECPString.copyValue ( ElementClass elementClass,
ElementClassProperty property )

Copy value from another element class property of the same type.

Version
1.17

References copyValue().

Referenced by copyValue().

◆ getValue() [1/2]

String Dragengine.Scenery.ECPString.getValue ( )

Value.

References getValue().

Referenced by getValue(), getValue(), and getValueOrEmpty().

◆ getValue() [2/2]

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.

References getValue().

◆ getValueOrEmpty()

String Dragengine.Scenery.ECPString.getValueOrEmpty ( StubWithProperties stub)

String value value modified by stub property if present.

Version
1.13

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.

References getValue(), getValueOrEmpty(), and getValueOrNull().

Referenced by getValueOrEmpty().

◆ getValueOrNull()

String Dragengine.Scenery.ECPString.getValueOrNull ( StubWithProperties stub)

String value value modified by stub property if present.

Version
1.13

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.

Referenced by getValueOrEmpty().

◆ new()

ECPString Dragengine.Scenery.ECPString.new ( String name,
String value )

Create property.

References new().

Referenced by new().

◆ setValue()

void Dragengine.Scenery.ECPString.setValue ( Object value)

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

References setValue().

Referenced by setValue().


The documentation for this class was generated from the following file: