Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECPStringID Class Reference

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

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

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...
 

Detailed Description

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

Member Function Documentation

◆ copyValue()

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

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

Version
1.17

◆ getValue() [1/2]

StringID Dragengine.Scenery.ECPStringID.getValue ( )

Value.

◆ getValue() [2/2]

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.

◆ new() [1/2]

ECPStringID Dragengine.Scenery.ECPStringID.new ( String  name)

Create property.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ new() [2/2]

ECPStringID Dragengine.Scenery.ECPStringID.new ( String  name,
StringID  value 
)

Create property.

◆ setValue() [1/2]

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

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.

◆ setValue() [2/2]

void Dragengine.Scenery.ECPStringID.setValue ( StringID  value)

Set value.


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