Drag[en]gine Script Module DragonScript  1.23
Dragengine.LoadSave.Persistable Interface Reference

Interface usable with PersistencyEnvironment. More...

Inheritance diagram for Dragengine.LoadSave.Persistable:
Dragengine.ConversationSystem.ConversationAction Dragengine.ConversationSystem.ConversationCondition Dragengine.ConversationSystem.ConversationCustomTarget Dragengine.ConversationSystem.ConversationPlayback Dragengine.Gui.SubTitleBoxTextBorder Dragengine.Scenery.BaseActorAI Dragengine.Scenery.BaseActorAction Dragengine.Scenery.BaseVRHandAction

Public Member Functions

String persistencyFactoryName ()
 Name of PersistencyFactory required to load object from file. More...
 
void writeObjectToFile (PersistencyEnvironment env, FileWriter writer)
 Write object to file writer. More...
 

Detailed Description

Interface usable with PersistencyEnvironment.

Member Function Documentation

◆ persistencyFactoryName()

String Dragengine.LoadSave.Persistable.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.

Implemented in Dragengine.Scenery.BaseActorAI, Dragengine.Scenery.BAAIBehaviorTree, Dragengine.Scenery.BaseVRHandAction, Dragengine.Scenery.BaseActorAction, Dragengine.Scenery.BAAVehicle, Dragengine.Scenery.BAAFirstPersonVR, Dragengine.Scenery.BAAFirstPerson, Dragengine.Scenery.BAACutscene, Dragengine.Scenery.BAAAlignActor, Dragengine.Gui.SubTitleBoxTextBorder, Dragengine.ConversationSystem.ConversationPlayback, Dragengine.ConversationSystem.ConversationCustomTarget, Dragengine.ConversationSystem.BaseConversationPlayback, Dragengine.ConversationSystem.CConditionVariable, Dragengine.ConversationSystem.CConditionTrigger, Dragengine.ConversationSystem.CConditionHasActor, Dragengine.ConversationSystem.CConditionGameCommand, Dragengine.ConversationSystem.CConditionActorParameter, Dragengine.ConversationSystem.CConditionActorInConversation, Dragengine.ConversationSystem.CConditionActorCommand, Dragengine.ConversationSystem.CActionWait, Dragengine.ConversationSystem.CActionTrigger, Dragengine.ConversationSystem.CActionStopTopic, Dragengine.ConversationSystem.CActionStopConversation, Dragengine.ConversationSystem.CActionSnippet, Dragengine.ConversationSystem.CActionSetVariable, Dragengine.ConversationSystem.CActionSetActorParameter, Dragengine.ConversationSystem.CActionPlayerChoice, Dragengine.ConversationSystem.CActionMusic, Dragengine.ConversationSystem.CActionGameCommand, Dragengine.ConversationSystem.CActionCoordSystemRemove, Dragengine.ConversationSystem.CActionCoordSystemAdd, Dragengine.ConversationSystem.CActionCameraShot, Dragengine.ConversationSystem.CActionActorRemove, Dragengine.ConversationSystem.CActionActorCommand, and Dragengine.ConversationSystem.CActionActorAdd.

◆ writeObjectToFile()

void Dragengine.LoadSave.Persistable.writeObjectToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write object to file writer.

Implemented in Dragengine.Scenery.BaseActorAI, Dragengine.Scenery.BAAIBehaviorTree, Dragengine.Scenery.BaseVRHandAction, Dragengine.Scenery.BaseActorAction, Dragengine.Scenery.BAACutscene, Dragengine.Scenery.BAAAlignActor, Dragengine.Gui.SubTitleBoxTextBorder, Dragengine.ConversationSystem.ConversationPlayback, Dragengine.ConversationSystem.ConversationCustomTarget, Dragengine.ConversationSystem.CConditionVariable, Dragengine.ConversationSystem.CConditionTrigger, Dragengine.ConversationSystem.CConditionHasActor, Dragengine.ConversationSystem.CConditionGameCommand, Dragengine.ConversationSystem.CConditionActorParameter, Dragengine.ConversationSystem.CConditionActorInConversation, Dragengine.ConversationSystem.CConditionActorCommand, Dragengine.ConversationSystem.CActionWait, Dragengine.ConversationSystem.CActionTrigger, Dragengine.ConversationSystem.CActionStopTopic, Dragengine.ConversationSystem.CActionStopConversation, Dragengine.ConversationSystem.CActionSnippet, Dragengine.ConversationSystem.CActionSetVariable, Dragengine.ConversationSystem.CActionSetActorParameter, Dragengine.ConversationSystem.CActionPlayerChoice, Dragengine.ConversationSystem.CActionMusic, Dragengine.ConversationSystem.CActionIfElse, Dragengine.ConversationSystem.CActionGameCommand, Dragengine.ConversationSystem.CActionCoordSystemRemove, Dragengine.ConversationSystem.CActionCoordSystemAdd, Dragengine.ConversationSystem.CActionCameraShot, Dragengine.ConversationSystem.CActionActorRemove, Dragengine.ConversationSystem.CActionActorCommand, and Dragengine.ConversationSystem.CActionActorAdd.


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