Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
Versioning Class Reference
Inheritance diagram for Versioning:
VersioningBase

Static Public Member Functions

static string BytesToHex (byte[] b)
 
static void CheckForUpdates ()
 
static byte[] FileMD5Bytes (string file)
 
static string FileMD5String (string file)
 
static Version GetVersionFromString (string stringVersion)
 Returns a standard Version given a string version More...
 
static string GetVersionStringFull ()
 
static string GetVersionStringWithExperimental ()
 
static string GetVersionStringWithPrerelease ()
 
static void QuitAndStartPatcher ()
 
- Static Public Member Functions inherited from VersioningBase
static string GetVersionString ()
 

Public Attributes

bool beta
 
int buildID
 
List< string > distributionPlatformNames = null
 
bool dontShowAgain
 
int experimental
 
bool isReleaseBuild
 
GUISkin newVersionWindowSkin
 
bool prerelease = false
 
int revision
 
bool test
 
string title
 
string titleShort
 
int versionMajor
 
int versionMinor
 

Static Public Attributes

static Versioning fetch
 
static string Language = ""
 Set to the language string from the BuildID*.txt file. More...
 
static bool promptNewVersion = false
 

Protected Member Functions

override string GetVersion ()
 
override void OnAwake ()
 

Properties

static int BuildID [get]
 
static string DistributionName [get]
 
static int Experimental [get]
 
static bool isBeta [get]
 
static bool isPrerelease [get]
 
static bool IsReleaseBuild [get]
 
static bool IsSteam [get]
 
static int Revision [get]
 
static string Title [get]
 
static string TitleShort [get]
 
static int version_major [get]
 
static int version_minor [get]
 
static string VersionString [get]
 
- Properties inherited from VersioningBase
static VersioningBase Instance [get]
 

Additional Inherited Members

- Static Protected Attributes inherited from VersioningBase
static VersioningBase instance
 

Member Function Documentation

static string Versioning.BytesToHex ( byte[]  b)
inlinestatic
static void Versioning.CheckForUpdates ( )
inlinestatic
static byte [] Versioning.FileMD5Bytes ( string  file)
inlinestatic
static string Versioning.FileMD5String ( string  file)
inlinestatic
override string Versioning.GetVersion ( )
inlineprotectedvirtual

Implements VersioningBase.

static Version Versioning.GetVersionFromString ( string  stringVersion)
inlinestatic

Returns a standard Version given a string version

static string Versioning.GetVersionStringFull ( )
inlinestatic
static string Versioning.GetVersionStringWithExperimental ( )
inlinestatic
static string Versioning.GetVersionStringWithPrerelease ( )
inlinestatic
override void Versioning.OnAwake ( )
inlineprotectedvirtual

< look for the Steam app manifest file two folders above. If it's there, we're running on Steam.

< get the build ID from the buildID.txt file

Implements VersioningBase.

static void Versioning.QuitAndStartPatcher ( )
inlinestatic

Member Data Documentation

bool Versioning.beta
int Versioning.buildID
List<string> Versioning.distributionPlatformNames = null
bool Versioning.dontShowAgain
int Versioning.experimental
Versioning Versioning.fetch
static
bool Versioning.isReleaseBuild
string Versioning.Language = ""
static

Set to the language string from the BuildID*.txt file.

GUISkin Versioning.newVersionWindowSkin
bool Versioning.prerelease = false
bool Versioning.promptNewVersion = false
static
int Versioning.revision
bool Versioning.test
string Versioning.title
string Versioning.titleShort
int Versioning.versionMajor
int Versioning.versionMinor

Property Documentation

int Versioning.BuildID
staticget
string Versioning.DistributionName
staticget
int Versioning.Experimental
staticget
bool Versioning.isBeta
staticget
bool Versioning.isPrerelease
staticget
bool Versioning.IsReleaseBuild
staticget
bool Versioning.IsSteam
staticget
int Versioning.Revision
staticget
string Versioning.Title
staticget
string Versioning.TitleShort
staticget
int Versioning.version_major
staticget
int Versioning.version_minor
staticget
string Versioning.VersionString
staticget

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