M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.ApplicationVersion Struct Reference

Public Member Functions

 ApplicationVersion (ApplicationVersionType applicationVersionType, int major, int minor, int revision, int changeSet)
 
bool IsSame (ApplicationVersion other, bool checkChangeSet)
 
bool IsOlderThan (ApplicationVersion other)
 
bool IsNewerThan (ApplicationVersion other)
 
override string ToString ()
 Returns formatted save version.
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Static Public Member Functions

static ApplicationVersion FromParametersFile (string customParameterFilePath=null)
 
static ApplicationVersion FromString (string versionAsString, int defaultChangeSet=DefaultChangeSet)
 
static ApplicationVersionType ApplicationVersionTypeFromString (string applicationVersionTypeAsString)
 
static string GetPrefix (ApplicationVersionType applicationVersionType)
 
static bool operator== (ApplicationVersion a, ApplicationVersion b)
 
static bool operator!= (ApplicationVersion a, ApplicationVersion b)
 
static bool operator> (ApplicationVersion a, ApplicationVersion b)
 
static bool operator< (ApplicationVersion a, ApplicationVersion b)
 
static bool operator>= (ApplicationVersion a, ApplicationVersion b)
 
static bool operator<= (ApplicationVersion a, ApplicationVersion b)
 

Static Public Attributes

const int DefaultChangeSet = 54620
 This is overridden during publishing.
 
static readonly ApplicationVersion Empty = new ApplicationVersion(ApplicationVersionType.Invalid, -1, -1, -1, -1)
 

Properties

ApplicationVersionType ApplicationVersionType [get]
 
int Major [get]
 
int Minor [get]
 
int Revision [get]
 
int ChangeSet [get]
 

Constructor & Destructor Documentation

◆ ApplicationVersion()

TaleWorlds.Library.ApplicationVersion.ApplicationVersion ( ApplicationVersionType applicationVersionType,
int major,
int minor,
int revision,
int changeSet )

Member Function Documentation

◆ FromParametersFile()

static ApplicationVersion TaleWorlds.Library.ApplicationVersion.FromParametersFile ( string customParameterFilePath = null)
static

◆ FromString()

static ApplicationVersion TaleWorlds.Library.ApplicationVersion.FromString ( string versionAsString,
int defaultChangeSet = DefaultChangeSet )
static

◆ IsSame()

bool TaleWorlds.Library.ApplicationVersion.IsSame ( ApplicationVersion other,
bool checkChangeSet )

◆ IsOlderThan()

bool TaleWorlds.Library.ApplicationVersion.IsOlderThan ( ApplicationVersion other)

◆ IsNewerThan()

bool TaleWorlds.Library.ApplicationVersion.IsNewerThan ( ApplicationVersion other)

◆ ApplicationVersionTypeFromString()

static ApplicationVersionType TaleWorlds.Library.ApplicationVersion.ApplicationVersionTypeFromString ( string applicationVersionTypeAsString)
static

◆ GetPrefix()

static string TaleWorlds.Library.ApplicationVersion.GetPrefix ( ApplicationVersionType applicationVersionType)
static

◆ ToString()

override string TaleWorlds.Library.ApplicationVersion.ToString ( )
Returns

◆ operator==()

static bool TaleWorlds.Library.ApplicationVersion.operator== ( ApplicationVersion a,
ApplicationVersion b )
static

◆ operator!=()

static bool TaleWorlds.Library.ApplicationVersion.operator!= ( ApplicationVersion a,
ApplicationVersion b )
static

◆ GetHashCode()

override int TaleWorlds.Library.ApplicationVersion.GetHashCode ( )

◆ Equals()

override bool TaleWorlds.Library.ApplicationVersion.Equals ( object obj)

◆ operator>()

static bool TaleWorlds.Library.ApplicationVersion.operator> ( ApplicationVersion a,
ApplicationVersion b )
static

◆ operator<()

static bool TaleWorlds.Library.ApplicationVersion.operator< ( ApplicationVersion a,
ApplicationVersion b )
static

◆ operator>=()

static bool TaleWorlds.Library.ApplicationVersion.operator>= ( ApplicationVersion a,
ApplicationVersion b )
static

◆ operator<=()

static bool TaleWorlds.Library.ApplicationVersion.operator<= ( ApplicationVersion a,
ApplicationVersion b )
static

Member Data Documentation

◆ DefaultChangeSet

const int TaleWorlds.Library.ApplicationVersion.DefaultChangeSet = 54620
static

◆ Empty

readonly ApplicationVersion TaleWorlds.Library.ApplicationVersion.Empty = new ApplicationVersion(ApplicationVersionType.Invalid, -1, -1, -1, -1)
static

Property Documentation

◆ ApplicationVersionType

ApplicationVersionType TaleWorlds.Library.ApplicationVersion.ApplicationVersionType
get

◆ Major

int TaleWorlds.Library.ApplicationVersion.Major
get

◆ Minor

int TaleWorlds.Library.ApplicationVersion.Minor
get

◆ Revision

int TaleWorlds.Library.ApplicationVersion.Revision
get

◆ ChangeSet

int TaleWorlds.Library.ApplicationVersion.ChangeSet
get