|
Drag[en]gine Script Module DragonScript 1.35
|
Play back conversation. More...
Public Member Functions | |
| void | addActor (ConversationActor actor, StringID alias) |
| Add actor with alias if absent. | |
| void | addCoordSystem (ConversationCoordSystem coordSystem, StringID alias) |
| Add coordinate system with alias if absent. | |
| void | addListener (ConversationPlaybackListener listener) |
| Add listener. | |
| void | addSideLane (ConversationPlaybackLane lane) |
| Add side lane. | |
| void | changeMusic (String music) |
| Switch music. | |
| bool | conditionGameCommand (String command) |
| Game condition command send by the conversation script. | |
| void | dispose () |
| Dispose of conversation playback. | |
| ConversationActor | findActor (Block ablock) |
| Find actor using block. | |
| ConversationCoordSystem | findCoordSystem (Block ablock) |
| Find conversation coordinate system using block. | |
| void | forEachCoordSystem (Block ablock) |
| Visit coordinate systems with block with parameter ConversationCoordSystem. | |
| ConversationActor | getActorAt (int index) |
| Actor by index. | |
| int | getActorCount () |
| Number of actors. | |
| ConversationActor | getActorMatching (StringID id) |
| Actor with ID or number or null if absent. | |
| ConversationCameraDirector | getCameraDirector () |
| Camera director or null. | |
| ConversationCoordSystem | getCoordSystemByID (StringID id) |
| Coordinate system with ID or <em null if absent. | |
| int | getCoordSystemCount () |
| Number of coordinate systems. | |
| float | getElapsedActionWaiting () |
| Elapsed action waiting time in seconds. | |
| bool | getEnableFastForwardSpeaking () |
| Enabling calling fastForwardSpeaking() to be allowed. | |
| ConversationPlaybackLayer | getLayerAt (int index) |
| Layer at index where index is counted from the top. | |
| int | getLayerCount () |
| Number of layers. | |
| ConversationPlaybackLane | getMainLane () |
| Main lane. | |
| ConversationAction | getNextAction () |
| Next action or null if top layer is finished. | |
| bool | getPaused () |
| Playback is paused. | |
| ConversationPlaybackPlayerChoice | getPlayerChoice () |
| Player choice interface or null. | |
| bool | getRunning () |
| Playback is running. | |
| ConversationPlaybackLane | getSideLaneAt (int lane) |
| Side lane at index. | |
| int | getSideLaneCount () |
| Count of side lanes. | |
| ConversationPlaybackSubTitle | getSubTitle () |
| Sub title or null. | |
| ConversationTopic | getTopic () |
| Topic being talking about. | |
| ConversationTopicGroup | getTopicGroup () |
| Topic group being talking about. | |
| ConversationPlaybackLayer | getTopLayer () |
| Top layer. | |
| TranslationManager | getTranslationManager () |
| Translation manager or null. | |
| int | getVariable (String name, int defaultValue) |
| Variable value or default value if not set. | |
| bool | getWaitingForAction () |
| Waiting for action to begin. | |
| bool | hasNextAction () |
| Next action is present. | |
| bool | hasVariable (String name) |
| Variable is set. | |
| ConversationPlayback | new (Conversation conversation) |
| Create conversation playback. | |
| ConversationPlayback | new (PersistencyEnvironment env, FileReader reader) |
| Read from file. | |
| void | notifyRunningChanged () |
| Notify listeners running state changed. | |
| void | onConversationStarted () |
| Conversation started hook method. | |
| void | onConversationStopped () |
| Conversation stopped hook method. | |
| String | persistencyFactoryName () |
| Name of PersistencyFactory required to load object from file. | |
| void | popLayer () |
| Pop top layer off stack. | |
| void | processActions (float elapsed, bool skipDelay) |
| Process actions. | |
| void | pushLayer (ConversationPlaybackLayer layer) |
| Push layer to top of stack. | |
| void | readDelayedFromFile (PersistencyEnvironment env, FileReader reader) |
| Read data from file accessing subclass implemented methods. | |
| void | removeActor (ConversationActor actor) |
| Remove actor if present. | |
| void | removeAllActors () |
| Remove all actors. | |
| void | removeAllCoordSystems () |
| Remove all coordinate systems. | |
| void | removeAllLayers () |
| Remove all layers. | |
| void | removeAllSideLanes () |
| Remove all side lanes. | |
| void | removeAllVariables () |
| Remove all variables. | |
| void | removeCoordSystem (ConversationCoordSystem coordSystem) |
| Remove coordinate system if present. | |
| void | removeListener (ConversationPlaybackListener listener) |
| Remove listener if present. | |
| void | removeSideLane (ConversationPlaybackLane lane) |
| Remove side lane. | |
| void | removeVariable (String name) |
| Remove variable if set. | |
| void | setCameraDirector (ConversationCameraDirector director) |
| Set camera director or null. | |
| void | setEnableFastForwardSpeaking (bool enable) |
| Set if calling fastForwardSpeaking() is allowed. | |
| void | setPaused (bool paused) |
| Set if playback is paused. | |
| void | setPlayerChoice (ConversationPlaybackPlayerChoice playerChoice) |
| Set player choice interface or null. | |
| void | setRunning (bool running) |
| Set if playback is running. | |
| void | setSimpleSnippet (SimpleConversationConverter converter, SimpleConversation simpleConversation, SimpleConversationSnippet snippet) |
| Set simple conversation snippet to talk about. | |
| void | setSubTitle (ConversationPlaybackSubTitle subTitle) |
| Set sub title or null. | |
| void | setTopic (ConversationTopicGroup group, ConversationTopic topic) |
| Set topic to talk about. | |
| void | setTranslationManager (TranslationManager translationManager) |
| Set translation manager or null. | |
| void | setVariable (String name, int value) |
| Set variable. | |
| void | stopConversation () |
| Stop conversation. | |
| void | update (float elapsed) |
| Update playback. | |
| void | writeObjectConstructToFile (PersistencyEnvironment env, FileWriter writer) |
| Write object data to file writer read during construction time. | |
| void | writeObjectToFile (PersistencyEnvironment env, FileWriter writer) |
| Write object to file writer. | |
Protected Member Functions | |
| ConversationPlaybackLane | getActiveLane () |
| Active lane. | |
| void | setActiveLane (ConversationPlaybackLane lane) |
| Set active lane. | |
Play back conversation.
| void Dragengine.ConversationSystem.ConversationPlayback.addActor | ( | ConversationActor | actor, |
| StringID | alias ) |
Add actor with alias if absent.
References getVariable(), and pConversation.
Referenced by conditionGameCommand(), getVariable(), and notifyRunningChanged().
| void Dragengine.ConversationSystem.ConversationPlayback.addCoordSystem | ( | ConversationCoordSystem | coordSystem, |
| StringID | alias ) |
Add coordinate system with alias if absent.
References pushLayer().
Referenced by removeAllVariables(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.addListener | ( | ConversationPlaybackListener | listener | ) |
Add listener.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.addSideLane | ( | ConversationPlaybackLane | lane | ) |
Add side lane.
Adding a side lane runs it once.
References getPaused().
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.changeMusic | ( | String | music | ) |
Switch music.
Overwrite to make the game change music. The default implementation does nothing.
References new(), and pActors.
Referenced by writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.conditionGameCommand | ( | String | command | ) |
Game condition command send by the conversation script.
Overwrite to make the game evaluate the command returning true or false as result. The default implementation returns false.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
References addActor(), and pActors.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.dispose | ( | ) |
Dispose of conversation playback.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
References dispose(), new(), pActiveLane, pActors, pConversation, pListeners, pPlayerChoice, pRunning, pSideLanes, pSubTitle, pTranslationManager, pVariables, removeAllActors(), removeAllCoordSystems(), removeAllLayers(), removeAllVariables(), and setRunning().
Referenced by dispose().
| ConversationActor Dragengine.ConversationSystem.ConversationPlayback.findActor | ( | Block | ablock | ) |
Find actor using block.
Block requires signature (ConversationActor actor) or (int index, ConversationActor actor) and returns true if found.
Referenced by writeObjectConstructToFile().
| ConversationCoordSystem Dragengine.ConversationSystem.ConversationPlayback.findCoordSystem | ( | Block | ablock | ) |
Find conversation coordinate system using block.
Block requires signature (ConversationCoordSystem actor) or (int index, ConversationCoordSystem actor) and returns true if found.
References pSideLanes.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.forEachCoordSystem | ( | Block | ablock | ) |
Visit coordinate systems with block with parameter ConversationCoordSystem.
Referenced by writeObjectConstructToFile().
|
protected |
Active lane.
References getActorCount(), and pActors.
Referenced by writeObjectConstructToFile().
| ConversationActor Dragengine.ConversationSystem.ConversationPlayback.getActorAt | ( | int | index | ) |
Actor by index.
Referenced by setActiveLane().
| int Dragengine.ConversationSystem.ConversationPlayback.getActorCount | ( | ) |
Number of actors.
Referenced by getActiveLane().
| ConversationActor Dragengine.ConversationSystem.ConversationPlayback.getActorMatching | ( | StringID | id | ) |
Actor with ID or number or null if absent.
Referenced by removeListener().
| ConversationCameraDirector Dragengine.ConversationSystem.ConversationPlayback.getCameraDirector | ( | ) |
Camera director or null.
Referenced by Dragengine.ConversationSystem.BaseConversationPlayback.persistencyFactoryName(), and writeObjectConstructToFile().
| ConversationCoordSystem Dragengine.ConversationSystem.ConversationPlayback.getCoordSystemByID | ( | StringID | id | ) |
Coordinate system with ID or <em null if absent.
Referenced by writeObjectConstructToFile().
| int Dragengine.ConversationSystem.ConversationPlayback.getCoordSystemCount | ( | ) |
| float Dragengine.ConversationSystem.ConversationPlayback.getElapsedActionWaiting | ( | ) |
Elapsed action waiting time in seconds.
References getLayerCount(), pRunning, and pTopic.
Referenced by writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.getEnableFastForwardSpeaking | ( | ) |
Enabling calling fastForwardSpeaking() to be allowed.
Referenced by removeAllSideLanes().
| ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlayback.getLayerAt | ( | int | index | ) |
Layer at index where index is counted from the top.
References setRunning().
Referenced by writeObjectConstructToFile().
| int Dragengine.ConversationSystem.ConversationPlayback.getLayerCount | ( | ) |
Number of layers.
References pSideLanes, and setPaused().
Referenced by getElapsedActionWaiting(), and writeObjectConstructToFile().
| ConversationPlaybackLane Dragengine.ConversationSystem.ConversationPlayback.getMainLane | ( | ) |
Main lane.
References pActiveLane, pRunning, pSideLanes, and update().
Referenced by writeObjectConstructToFile().
| ConversationAction Dragengine.ConversationSystem.ConversationPlayback.getNextAction | ( | ) |
Next action or null if top layer is finished.
Referenced by writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.getPaused | ( | ) |
Playback is paused.
References new(), pActiveLane, pListeners, and pTranslationManager.
Referenced by addSideLane().
| ConversationPlaybackPlayerChoice Dragengine.ConversationSystem.ConversationPlayback.getPlayerChoice | ( | ) |
Player choice interface or null.
Referenced by writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.getRunning | ( | ) |
| ConversationPlaybackLane Dragengine.ConversationSystem.ConversationPlayback.getSideLaneAt | ( | int | lane | ) |
Side lane at index.
References onConversationStarted(), and onConversationStopped().
Referenced by writeObjectConstructToFile().
| int Dragengine.ConversationSystem.ConversationPlayback.getSideLaneCount | ( | ) |
Count of side lanes.
References notifyRunningChanged().
Referenced by writeObjectConstructToFile().
| ConversationPlaybackSubTitle Dragengine.ConversationSystem.ConversationPlayback.getSubTitle | ( | ) |
| ConversationTopic Dragengine.ConversationSystem.ConversationPlayback.getTopic | ( | ) |
Topic being talking about.
Referenced by update().
| ConversationTopicGroup Dragengine.ConversationSystem.ConversationPlayback.getTopicGroup | ( | ) |
Topic group being talking about.
Referenced by setTranslationManager().
| ConversationPlaybackLayer Dragengine.ConversationSystem.ConversationPlayback.getTopLayer | ( | ) |
Top layer.
Referenced by writeObjectConstructToFile().
| TranslationManager Dragengine.ConversationSystem.ConversationPlayback.getTranslationManager | ( | ) |
Translation manager or null.
References pConversation.
Referenced by writeObjectConstructToFile().
| int Dragengine.ConversationSystem.ConversationPlayback.getVariable | ( | String | name, |
| int | defaultValue ) |
Variable value or default value if not set.
References addActor().
Referenced by addActor(), and writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.getWaitingForAction | ( | ) |
Waiting for action to begin.
References getRunning(), pRunning, and setRunning().
Referenced by writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.hasNextAction | ( | ) |
Next action is present.
References pSideLanes, pTopic, pTopicGroup, and setSimpleSnippet().
Referenced by writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.hasVariable | ( | String | name | ) |
Variable is set.
Referenced by writeObjectConstructToFile().
| ConversationPlayback Dragengine.ConversationSystem.ConversationPlayback.new | ( | Conversation | conversation | ) |
Create conversation playback.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
References new().
Referenced by changeMusic(), dispose(), getPaused(), getRunning(), new(), removeCoordSystem(), setEnableFastForwardSpeaking(), setPlayerChoice(), setRunning(), and writeObjectConstructToFile().
| ConversationPlayback Dragengine.ConversationSystem.ConversationPlayback.new | ( | PersistencyEnvironment | env, |
| FileReader | reader ) |
Read from file.
This call loads only data not accessing subclass implemented methods. To finish loading call readDelayedFromFile().
The typical factory call would look like this:
These objects are not persisted. Subclass is responsible to set them.
Subclass is usually not required to store additional data except initializing the above mentioned.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
References pCameraDirector, pConversation, pTopic, and pTopicGroup.
| void Dragengine.ConversationSystem.ConversationPlayback.notifyRunningChanged | ( | ) |
Notify listeners running state changed.
References addActor().
Referenced by getSideLaneCount(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.onConversationStarted | ( | ) |
Conversation started hook method.
Called if running state changed to true after sending notifications to listeners.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
Referenced by getSideLaneAt(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.onConversationStopped | ( | ) |
Conversation stopped hook method.
Called if running state changed to false after sending notifications to listeners.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
References pActors, and removeActor().
Referenced by getSideLaneAt(), and writeObjectConstructToFile().
| String Dragengine.ConversationSystem.ConversationPlayback.persistencyFactoryName | ( | ) |
Name of PersistencyFactory required to load object from file.
Name of PersistencyFactory is first written to the file as string with 8-bit length. Then writeToFile() is called to write the object itself. Empty name is not allowed as is names longer than 255 characters. Name has to match a PersistencyFactory present in the Persistency instance used for loading objects. Object is read using PersistencyFactory.readObjectFromFile() of the matching PersistencyFactory.
Implements Dragengine.LoadSave.Persistable.
Reimplemented in Dragengine.ConversationSystem.BaseConversationPlayback.
References pActors, and removeAllActors().
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.popLayer | ( | ) |
Pop top layer off stack.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.processActions | ( | float | elapsed, |
| bool | skipDelay ) |
Process actions.
References pTopic, pTopicGroup, and setTopic().
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.pushLayer | ( | ConversationPlaybackLayer | layer | ) |
Push layer to top of stack.
Referenced by addCoordSystem(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.readDelayedFromFile | ( | PersistencyEnvironment | env, |
| FileReader | reader ) |
Read data from file accessing subclass implemented methods.
Call after subclass is properly constructed. Subclass usually does not require to overwrite this method.
Referenced by Dragengine.ConversationSystem.BaseConversationPlayback.Factory.readObjectFromFile(), and setCameraDirector().
| void Dragengine.ConversationSystem.ConversationPlayback.removeActor | ( | ConversationActor | actor | ) |
Remove actor if present.
Referenced by onConversationStopped().
| void Dragengine.ConversationSystem.ConversationPlayback.removeAllActors | ( | ) |
Remove all actors.
References pConversation, pTopic, and pTopicGroup.
Referenced by dispose(), Dragengine.ConversationSystem.BaseConversationPlayback.persistencyFactoryName(), and persistencyFactoryName().
| void Dragengine.ConversationSystem.ConversationPlayback.removeAllCoordSystems | ( | ) |
Remove all coordinate systems.
Referenced by dispose(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.removeAllLayers | ( | ) |
Remove all layers.
Referenced by dispose(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.removeAllSideLanes | ( | ) |
Remove all side lanes.
References getEnableFastForwardSpeaking(), and setEnableFastForwardSpeaking().
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.removeAllVariables | ( | ) |
Remove all variables.
References addCoordSystem().
Referenced by dispose(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.removeCoordSystem | ( | ConversationCoordSystem | coordSystem | ) |
Remove coordinate system if present.
References new(), and pRunning.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.removeListener | ( | ConversationPlaybackListener | listener | ) |
Remove listener if present.
References getActorMatching(), and pActors.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.removeSideLane | ( | ConversationPlaybackLane | lane | ) |
| void Dragengine.ConversationSystem.ConversationPlayback.removeVariable | ( | String | name | ) |
Remove variable if set.
Referenced by writeObjectConstructToFile().
|
protected |
Set active lane.
References getActorAt(), and pActors.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.setCameraDirector | ( | ConversationCameraDirector | director | ) |
Set camera director or null.
References readDelayedFromFile().
Referenced by Dragengine.ConversationSystem.BaseConversationPlayback.getCommandParser(), Dragengine.ConversationSystem.BaseConversationPlayback.persistencyFactoryName(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.setEnableFastForwardSpeaking | ( | bool | enable | ) |
Set if calling fastForwardSpeaking() is allowed.
References new().
Referenced by removeAllSideLanes().
| void Dragengine.ConversationSystem.ConversationPlayback.setPaused | ( | bool | paused | ) |
Set if playback is paused.
Referenced by getLayerCount(), removeSideLane(), and stopConversation().
| void Dragengine.ConversationSystem.ConversationPlayback.setPlayerChoice | ( | ConversationPlaybackPlayerChoice | playerChoice | ) |
Set player choice interface or null.
References new().
Referenced by Dragengine.ConversationSystem.BaseConversationPlayback.getCommandParser(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.setRunning | ( | bool | running | ) |
Set if playback is running.
References new(), pSideLanes, and pVariables.
Referenced by dispose(), getLayerAt(), getWaitingForAction(), stopConversation(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.setSimpleSnippet | ( | SimpleConversationConverter | converter, |
| SimpleConversation | simpleConversation, | ||
| SimpleConversationSnippet | snippet ) |
Set simple conversation snippet to talk about.
Removes all layers adding layer with converted snippet.
Referenced by hasNextAction().
| void Dragengine.ConversationSystem.ConversationPlayback.setSubTitle | ( | ConversationPlaybackSubTitle | subTitle | ) |
Set sub title or null.
Referenced by Dragengine.ConversationSystem.BaseConversationPlayback.getCommandParser(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.setTopic | ( | ConversationTopicGroup | group, |
| ConversationTopic | topic ) |
Set topic to talk about.
Referenced by processActions().
| void Dragengine.ConversationSystem.ConversationPlayback.setTranslationManager | ( | TranslationManager | translationManager | ) |
Set translation manager or null.
References getTopicGroup(), and pTopicGroup.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.setVariable | ( | String | name, |
| int | value ) |
Set variable.
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.stopConversation | ( | ) |
Stop conversation.
References setPaused(), and setRunning().
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.update | ( | float | elapsed | ) |
Update playback.
References getTopic(), and pTopic.
Referenced by getMainLane(), and writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.writeObjectConstructToFile | ( | PersistencyEnvironment | env, |
| FileWriter | writer ) |
Write object data to file writer read during construction time.
Writes all data which are read during construction time not accessing subclass implemented methods. This affects besides others the use of loadConversationActor() and createConversationCoordSystem().
Subclass usually does not required to overwrite this method.
References addCoordSystem(), addListener(), addSideLane(), changeMusic(), conditionGameCommand(), findActor(), findCoordSystem(), forEachCoordSystem(), getActiveLane(), getCameraDirector(), getCoordSystemByID(), getCoordSystemCount(), getElapsedActionWaiting(), getLayerAt(), getLayerCount(), getMainLane(), getNextAction(), getPlayerChoice(), getSideLaneAt(), getSideLaneCount(), getSubTitle(), getTopLayer(), getTranslationManager(), getVariable(), getWaitingForAction(), hasNextAction(), hasVariable(), new(), notifyRunningChanged(), onConversationStarted(), onConversationStopped(), pActiveLane, pActors, pCameraDirector, persistencyFactoryName(), pListeners, popLayer(), pPlayerChoice, processActions(), pRunning, pSideLanes, pSubTitle, pTranslationManager, pushLayer(), pVariables, removeAllCoordSystems(), removeAllLayers(), removeAllSideLanes(), removeAllVariables(), removeCoordSystem(), removeListener(), removeSideLane(), removeVariable(), setActiveLane(), setCameraDirector(), setPlayerChoice(), setRunning(), setSubTitle(), setTranslationManager(), setVariable(), stopConversation(), update(), writeObjectConstructToFile(), and writeObjectToFile().
Referenced by writeObjectConstructToFile().
| void Dragengine.ConversationSystem.ConversationPlayback.writeObjectToFile | ( | PersistencyEnvironment | env, |
| FileWriter | writer ) |
Write object to file writer.
This method supports reading object using constructor and readDelayedFromFile(). Subclass has to overwrite writeObjectConstructToFile() and writeObjectDelayedToFile(). This method should not be changed.
Implements Dragengine.LoadSave.Persistable.
References pActors.
Referenced by writeObjectConstructToFile().
| ConversationPlaybackLane Dragengine.ConversationSystem.ConversationPlayback.pActiveLane |
Referenced by dispose(), getMainLane(), getPaused(), and writeObjectConstructToFile().
| Array Dragengine.ConversationSystem.ConversationPlayback.pActors |
| ConversationCameraDirector Dragengine.ConversationSystem.ConversationPlayback.pCameraDirector |
Referenced by new(), and writeObjectConstructToFile().
| Conversation Dragengine.ConversationSystem.ConversationPlayback.pConversation |
Referenced by addActor(), dispose(), getTranslationManager(), new(), and removeAllActors().
| Array Dragengine.ConversationSystem.ConversationPlayback.pListeners |
Referenced by dispose(), getPaused(), and writeObjectConstructToFile().
| ConversationPlaybackPlayerChoice Dragengine.ConversationSystem.ConversationPlayback.pPlayerChoice |
Referenced by dispose(), and writeObjectConstructToFile().
| bool Dragengine.ConversationSystem.ConversationPlayback.pRunning |
Referenced by dispose(), getElapsedActionWaiting(), getMainLane(), getWaitingForAction(), removeCoordSystem(), and writeObjectConstructToFile().
| SafeArray Dragengine.ConversationSystem.ConversationPlayback.pSideLanes |
Referenced by dispose(), findCoordSystem(), getLayerCount(), getMainLane(), hasNextAction(), setRunning(), and writeObjectConstructToFile().
| ConversationPlaybackSubTitle Dragengine.ConversationSystem.ConversationPlayback.pSubTitle |
Referenced by dispose(), and writeObjectConstructToFile().
| ConversationTopic Dragengine.ConversationSystem.ConversationPlayback.pTopic |
Referenced by getElapsedActionWaiting(), hasNextAction(), new(), processActions(), removeAllActors(), and update().
| ConversationTopicGroup Dragengine.ConversationSystem.ConversationPlayback.pTopicGroup |
Referenced by hasNextAction(), new(), processActions(), removeAllActors(), and setTranslationManager().
| TranslationManager Dragengine.ConversationSystem.ConversationPlayback.pTranslationManager |
Referenced by dispose(), getPaused(), and writeObjectConstructToFile().
| Dictionary Dragengine.ConversationSystem.ConversationPlayback.pVariables |
Referenced by dispose(), getCoordSystemCount(), setRunning(), and writeObjectConstructToFile().