WolvenKit Scripting
Public Member Functions | List of all members
ScriptDocumentWrapper Class Reference

TODO More...

Public Member Functions

object? GetGameFile (string type)
 Gets the game file More...
 
void Save ()
 Saves the document More...
 
bool Reload (bool force)
 Reloads the document More...
 
void Close ()
 Closes the document without saving More...
 

Detailed Description

TODO

Member Function Documentation

◆ Close()

void ScriptDocumentWrapper.Close ( )

Closes the document without saving

◆ GetGameFile()

object? ScriptDocumentWrapper.GetGameFile ( string  type)

Gets the game file

Parameters
typeThe output type of the game file ("cr2w" or "json")
Returns
Exceptions
NotSupportedException

◆ Reload()

bool ScriptDocumentWrapper.Reload ( bool  force)

Reloads the document

Parameters
forceIf force is true, any unsaved changes will be discarded
Returns

◆ Save()

void ScriptDocumentWrapper.Save ( )

Saves the document


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