Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.DataManagement.DynamicResources.Version Struct Reference

Detailed Description

Structure that contains current asset version.

Public Member Functions

 Version (string version)
 Creates version from a string representation. More...
 
 Version (string modifier, params int[] info)
 Creates version container. More...
 
 Version (params int[] info)
 Creates version container. More...
 
override string ToString ()
 Returns version in string format. More...
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator> (Version a, Version b)
 
static bool operator< (Version a, Version b)
 
static bool operator== (Version a, Version b)
 
static bool operator!= (Version a, Version b)
 
static Version operator++ (Version a)
 
static Version operator-- (Version a)
 

Properties

static Version _100 [get]
 Return value 1.0.0
 
int[] info [get, set]
 Array of sub versions.
 
string modifier [get, set]
 Modifier of version. More...
 

Constructor & Destructor Documentation

◆ Version() [1/3]

Doloro.DataManagement.DynamicResources.Version.Version ( string  version)

Creates version from a string representation.

Parameters
versionString formated version. Parts must be divided with . symbol. May be ended with letters that will apply like a modifier.

◆ Version() [2/3]

Doloro.DataManagement.DynamicResources.Version.Version ( string  modifier,
params int[]  info 
)

Creates version container.

Parameters
modifierVersion string modifier.
infoVersion in int array format.

◆ Version() [3/3]

Doloro.DataManagement.DynamicResources.Version.Version ( params int[]  info)

Creates version container.

Parameters
infoVersion in int array format.

Member Function Documentation

◆ ToString()

override string Doloro.DataManagement.DynamicResources.Version.ToString ( )

Returns version in string format.

Returns
Log string.

Property Documentation

◆ modifier

string Doloro.DataManagement.DynamicResources.Version.modifier
getset

Modifier of version.

  • a - alpha
  • b - beta
  • g - gamma
  • lt - long term support

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