Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_LatestSaveDSSessionCallback Interface Reference
Inheritance diagram for SCR_LatestSaveDSSessionCallback:
[legend]

Public Member Functions

void SetFileName (string missionFileName, string saveFileName)
 Set the latest save file name for given mission.
 
void RemoveFileName (string missionFileName)
 Remove the latest save file name for given mission.
 
bool FindFileName (string missionFileName, out string outSaveFileName)
 Find the latest save file name for given mission.
 
void Log ()
 Print out all latest saves kept in the memory.
 
void WriteToFile ()
 Store latest saves kept in the memory to external file.
 
void ReadFromFile ()
 Read latest saves from external file.
 
override void OnSaving (string fileName)
 
override void OnLoaded (string fileName)
 
override void OnLoadFailed (string fileName)
 
override void OnSaveSuccess (string fileName)
 
bool IsLoaded ()
 

Protected Attributes

string m_sFileName
 
bool m_bIsLoaded
 
bool m_bWriteToFile
 
ref SCR_LatestSaveStruct m_Struct = new SCR_LatestSaveStruct()
 

Member Function Documentation

◆ FindFileName()

bool SCR_LatestSaveDSSessionCallback.FindFileName ( string  missionFileName,
out string  outSaveFileName 
)

Find the latest save file name for given mission.

Parameters
missionFileNameMission save file name
[out]outSaveFileNameString to be filled with the latest save file name
Returns
True if the latest save file name was found

◆ IsLoaded()

bool SCR_LatestSaveDSSessionCallback.IsLoaded ( )

◆ Log()

void SCR_LatestSaveDSSessionCallback.Log ( )

Print out all latest saves kept in the memory.

◆ OnLoaded()

override void SCR_LatestSaveDSSessionCallback.OnLoaded ( string  fileName)

◆ OnLoadFailed()

override void SCR_LatestSaveDSSessionCallback.OnLoadFailed ( string  fileName)

◆ OnSaveSuccess()

override void SCR_LatestSaveDSSessionCallback.OnSaveSuccess ( string  fileName)

◆ OnSaving()

override void SCR_LatestSaveDSSessionCallback.OnSaving ( string  fileName)

◆ ReadFromFile()

void SCR_LatestSaveDSSessionCallback.ReadFromFile ( )

Read latest saves from external file.

◆ RemoveFileName()

void SCR_LatestSaveDSSessionCallback.RemoveFileName ( string  missionFileName)

Remove the latest save file name for given mission.

Parameters
missionFileNameMission save file name

◆ SetFileName()

void SCR_LatestSaveDSSessionCallback.SetFileName ( string  missionFileName,
string  saveFileName 
)

Set the latest save file name for given mission.

Parameters
missionFileNameMission save file name
saveFileNameLatest save file name

◆ WriteToFile()

void SCR_LatestSaveDSSessionCallback.WriteToFile ( )

Store latest saves kept in the memory to external file.

Member Data Documentation

◆ m_bIsLoaded

bool SCR_LatestSaveDSSessionCallback.m_bIsLoaded
protected

◆ m_bWriteToFile

bool SCR_LatestSaveDSSessionCallback.m_bWriteToFile
protected

◆ m_sFileName

string SCR_LatestSaveDSSessionCallback.m_sFileName
protected

◆ m_Struct

ref SCR_LatestSaveStruct SCR_LatestSaveDSSessionCallback.m_Struct = new SCR_LatestSaveStruct()
protected

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