Arma Reforger Script API
Loading...
Searching...
No Matches
SaveGame Interface Reference

Public Member Functions

proto external ResourceName GetMissionResource ()
 Mission header resource name.
 
proto external UUID GetId ()
 Get unique id of the save point - primarily used for CLI loading by given id.
 
proto external ESaveGameType GetType ()
 Type of save (flags)
 
proto external int GetSavePointNumber ()
 Save point per playthrough number 0-100.
 
proto external int GetPlaythroughNumber ()
 Playthrough number 0-100.
 
proto external string GetSavePointName ()
 Chosen name of save point or auto generated.
 
proto external string GetPlaythroughName ()
 Chosen name of playthrough or auto generated.
 
proto external int GetSavePointCreatedUnix ()
 When this save was created - UTC.
 
proto external int GetPlaythroughStartedUnix ()
 Unix time when the playthrough was began - UTC.
 
proto void GetSavePointCreatedLocalDateTime (out int year, out int month, out int day, out int hour, out int minute, out int second)
 When this save was created, local date time.
 
proto void GetPlaythroughStartedDateTime (out int year, out int month, out int day, out int hour, out int minute, out int second)
 When the playthrough was began, local date time.
 
proto external int GetPlaytime ()
 Total seconds elapsed in the playthrough.
 
proto external string GetSavePointGameVersion ()
 Version of the game the save point was created on.
 
proto external bool IsSavePointGameVersionCompatible ()
 Is the save point's game version compatible with the current one.
 
proto external int GetSavePointAddons (out notnull array< SaveGameAddonVersion > outAddons)
 Addons used for the save point.
 
proto external bool AreSavePointAddonsCompatible ()
 Are the save point's addon versions compatible with the currently loaded ones.
 

Member Function Documentation

◆ AreSavePointAddonsCompatible()

proto external bool SaveGame.AreSavePointAddonsCompatible ( )

Are the save point's addon versions compatible with the currently loaded ones.

◆ GetId()

proto external UUID SaveGame.GetId ( )

Get unique id of the save point - primarily used for CLI loading by given id.

◆ GetMissionResource()

proto external ResourceName SaveGame.GetMissionResource ( )

Mission header resource name.

◆ GetPlaythroughName()

proto external string SaveGame.GetPlaythroughName ( )

Chosen name of playthrough or auto generated.

◆ GetPlaythroughNumber()

proto external int SaveGame.GetPlaythroughNumber ( )

Playthrough number 0-100.

◆ GetPlaythroughStartedDateTime()

proto void SaveGame.GetPlaythroughStartedDateTime ( out int year,
out int month,
out int day,
out int hour,
out int minute,
out int second )

When the playthrough was began, local date time.

◆ GetPlaythroughStartedUnix()

proto external int SaveGame.GetPlaythroughStartedUnix ( )

Unix time when the playthrough was began - UTC.

◆ GetPlaytime()

proto external int SaveGame.GetPlaytime ( )

Total seconds elapsed in the playthrough.

◆ GetSavePointAddons()

proto external int SaveGame.GetSavePointAddons ( out notnull array< SaveGameAddonVersion > outAddons)

Addons used for the save point.

◆ GetSavePointCreatedLocalDateTime()

proto void SaveGame.GetSavePointCreatedLocalDateTime ( out int year,
out int month,
out int day,
out int hour,
out int minute,
out int second )

When this save was created, local date time.

◆ GetSavePointCreatedUnix()

proto external int SaveGame.GetSavePointCreatedUnix ( )

When this save was created - UTC.

◆ GetSavePointGameVersion()

proto external string SaveGame.GetSavePointGameVersion ( )

Version of the game the save point was created on.

◆ GetSavePointName()

proto external string SaveGame.GetSavePointName ( )

Chosen name of save point or auto generated.

◆ GetSavePointNumber()

proto external int SaveGame.GetSavePointNumber ( )

Save point per playthrough number 0-100.

◆ GetType()

proto external ESaveGameType SaveGame.GetType ( )

Type of save (flags)

◆ IsSavePointGameVersionCompatible()

proto external bool SaveGame.IsSavePointGameVersionCompatible ( )

Is the save point's game version compatible with the current one.


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