Drag[en]gine Script Module DragonScript
1.21
|
Interface usable with PersistencyEnvironment. More...
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... | |
Interface usable with PersistencyEnvironment.
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.
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.