Class LauncherOSRule
Namespace: CmlLib.Core.Rules
Assembly: CmlLib.Core.dll
public class LauncherOSRule
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
LauncherOSRule()
public LauncherOSRule()
LauncherOSRule(string, string, string)
public LauncherOSRule(string name, string arch, string version)
Parameters
name string
arch string
version string
Fields
Arm
public const string Arm = "arm"
Field Value
Arm64
public const string Arm64 = "arm64"
Field Value
Linux
public const string Linux = "linux"
Field Value
OSX
public const string OSX = "osx"
Field Value
Windows
public const string Windows = "windows"
Field Value
X64
public const string X64 = "64"
Field Value
X86
public const string X86 = "32"
Field Value
Properties
Arch
[JsonPropertyName("arch")]
public string? Arch { get; set; }
Property Value
Current
public static LauncherOSRule Current { get; }
Property Value
Name
[JsonPropertyName("name")]
public string? Name { get; set; }
Property Value
Version
[JsonPropertyName("version")]
public string? Version { get; set; }