Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Revision Interface Reference

Public Member Functions

proto native string GetVersion ()
 
proto native string GetGameVersion ()
 
proto native void GetVersionArray (out notnull array< int > versionArray)
 
proto native void GetGameVersionArray (out notnull array< int > versionArray)
 
proto native int GetDependencies (out notnull array< Dependency > dependencies)
 
proto native bool IsDownloaded ()
 
proto native int GetScenarios (out notnull array< MissionWorkshopItem > scenarios)
 
proto native string ChangeLog ()
 
proto bool GetPatchSize (out float size)
 
proto native void ComputePatchSize (BackendCallback callback)
 
proto native int CompareTo (Revision rev)
 
proto native int GetLoadFlags ()
 Describes which data are not loaded yet.
 
proto native int GetFiles (out notnull array< string > aFiles)
 
proto native float GetTotalSize ()
 
proto native ERevisionAvailability GetAvailability ()
 
proto native float GetSizeBytes ()
 Total size of all its files.
 

Static Public Member Functions

static bool AreEqual (Revision a, Revision b)
 

Static Public Attributes

static const int INVALID_MAJOR_VERSION = -1
 

Member Function Documentation

◆ AreEqual()

static bool Revision.AreEqual ( Revision  a,
Revision  b 
)
static

◆ ChangeLog()

proto native string Revision.ChangeLog ( )

◆ CompareTo()

proto native int Revision.CompareTo ( Revision  rev)

◆ ComputePatchSize()

proto native void Revision.ComputePatchSize ( BackendCallback  callback)

◆ GetAvailability()

proto native ERevisionAvailability Revision.GetAvailability ( )

◆ GetDependencies()

proto native int Revision.GetDependencies ( out notnull array< Dependency dependencies)

◆ GetFiles()

proto native int Revision.GetFiles ( out notnull array< string aFiles)

◆ GetGameVersion()

proto native string Revision.GetGameVersion ( )

◆ GetGameVersionArray()

proto native void Revision.GetGameVersionArray ( out notnull array< int versionArray)

◆ GetLoadFlags()

proto native int Revision.GetLoadFlags ( )

Describes which data are not loaded yet.

A bitmask which should be compared with EPendingLoadState.

◆ GetPatchSize()

proto bool Revision.GetPatchSize ( out float  size)

◆ GetScenarios()

proto native int Revision.GetScenarios ( out notnull array< MissionWorkshopItem scenarios)

◆ GetSizeBytes()

proto native float Revision.GetSizeBytes ( )

Total size of all its files.

◆ GetTotalSize()

proto native float Revision.GetTotalSize ( )

◆ GetVersion()

proto native string Revision.GetVersion ( )

◆ GetVersionArray()

proto native void Revision.GetVersionArray ( out notnull array< int versionArray)

◆ IsDownloaded()

proto native bool Revision.IsDownloaded ( )

Member Data Documentation

◆ INVALID_MAJOR_VERSION

const int Revision.INVALID_MAJOR_VERSION = -1
static

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