|
Drag[en]gine Script Module DragonScript 1.35
|
SimpleConversation 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. | |
| bool | getHasPreloaded () |
| Property has been preloaded. | |
| LoadSimpleConversation | getLoader () |
| SimpleConversation loader. | |
| String | getPath () |
| Path to SimpleConversation. | |
| SimpleConversation | getSimpleConversation () |
| SimpleConversation or null if not present. | |
| SimpleConversation | getSimpleConversation (StubWithProperties stub, ElementClass eclass) |
| SimpleConversation modified by stub property if present. | |
| bool | logPreloadProblems (ElementClass elementClass, Console console) |
| Log preloading problems. | |
| ECPSimpleConversation | new (String name, LoadSimpleConversation loader) |
| Create property. | |
| ECPSimpleConversation | new (String name, LoadSimpleConversation loader, String path) |
| Create property with initial path. | |
| void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
| Preload resources if supported. | |
| void | setPath (String path) |
| Set path to SimpleConversation. | |
| void | setSimpleConversation (SimpleConversation SimpleConversation) |
| Set SimpleConversation or null if not present. | |
| 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. | |
| ElementClassProperty | new (String name) |
| Create property. | |
Public Attributes | |
| Exception | pException |
| bool | pHasPreloaded |
| LoadSimpleConversation | pLoader |
| String | pPath |
| SimpleConversation | pSimpleConversation |
SimpleConversation element class property for use with XML loading.
SimpleConversation is set from XML using a path. Loads the SimpleConversation during preloading. The value of the property is then the loaded resource. If loading fails null SimpleConversation is stored.
| void Dragengine.Scenery.ECPSimpleConversation.copyValue | ( | ElementClass | elementClass, |
| ElementClassProperty | property ) |
Copy value from another element class property of the same type.
References pSimpleConversation, and setSimpleConversation().
Referenced by logPreloadProblems().
| bool Dragengine.Scenery.ECPSimpleConversation.getHasPreloaded | ( | ) |
| LoadSimpleConversation Dragengine.Scenery.ECPSimpleConversation.getLoader | ( | ) |
SimpleConversation loader.
Referenced by getPath().
| String Dragengine.Scenery.ECPSimpleConversation.getPath | ( | ) |
Path to SimpleConversation.
References getLoader(), and pLoader.
Referenced by getSimpleConversation(), and getSimpleConversation().
| SimpleConversation Dragengine.Scenery.ECPSimpleConversation.getSimpleConversation | ( | ) |
SimpleConversation or null if not present.
References getPath(), and pPath.
Referenced by getSimpleConversation(), and setValue().
| SimpleConversation Dragengine.Scenery.ECPSimpleConversation.getSimpleConversation | ( | StubWithProperties | stub, |
| ElementClass | eclass ) |
SimpleConversation modified by stub property if present.
If named stub property is not present or empty string the stored SimpleConversation is returned. If the named stub property is present it is loaded as SimpleConversation resource.
References getPath(), getSimpleConversation(), logPreloadProblems(), new(), pException, pHasPreloaded, pLoader, pPath, preloadResources(), and pSimpleConversation.
| bool Dragengine.Scenery.ECPSimpleConversation.logPreloadProblems | ( | ElementClass | elementClass, |
| Console | console ) |
Log preloading problems.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
References copyValue(), pPath, and setValue().
Referenced by getSimpleConversation().
| ECPSimpleConversation Dragengine.Scenery.ECPSimpleConversation.new | ( | String | name, |
| LoadSimpleConversation | loader ) |
| ECPSimpleConversation Dragengine.Scenery.ECPSimpleConversation.new | ( | String | name, |
| LoadSimpleConversation | loader, | ||
| String | path ) |
| void Dragengine.Scenery.ECPSimpleConversation.preloadResources | ( | ElementClass | elementClass, |
| PreloadCounter | counter ) |
Preload resources if supported.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
References getHasPreloaded(), and pHasPreloaded.
Referenced by getSimpleConversation().
| void Dragengine.Scenery.ECPSimpleConversation.setPath | ( | String | path | ) |
Set path to SimpleConversation.
Referenced by setSimpleConversation().
| void Dragengine.Scenery.ECPSimpleConversation.setSimpleConversation | ( | SimpleConversation | SimpleConversation | ) |
| void Dragengine.Scenery.ECPSimpleConversation.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
References getSimpleConversation(), and pSimpleConversation.
Referenced by logPreloadProblems().
| Exception Dragengine.Scenery.ECPSimpleConversation.pException |
Referenced by getSimpleConversation().
| bool Dragengine.Scenery.ECPSimpleConversation.pHasPreloaded |
Referenced by getSimpleConversation(), and preloadResources().
| LoadSimpleConversation Dragengine.Scenery.ECPSimpleConversation.pLoader |
Referenced by getPath(), getSimpleConversation(), and new().
| String Dragengine.Scenery.ECPSimpleConversation.pPath |
Referenced by getHasPreloaded(), getSimpleConversation(), getSimpleConversation(), logPreloadProblems(), and new().
| SimpleConversation Dragengine.Scenery.ECPSimpleConversation.pSimpleConversation |
Referenced by copyValue(), getSimpleConversation(), and setValue().