Table of Contents

Class LauncherOSRule

Namespace: CmlLib.Core.Rules
Assembly: CmlLib.Core.dll

public class LauncherOSRule

Inheritance

objectLauncherOSRule

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

string

Arm64

public const string Arm64 = "arm64"

Field Value

string

Linux

public const string Linux = "linux"

Field Value

string

OSX

public const string OSX = "osx"

Field Value

string

Windows

public const string Windows = "windows"

Field Value

string

X64

public const string X64 = "64"

Field Value

string

X86

public const string X86 = "32"

Field Value

string

Properties

Arch

[JsonPropertyName("arch")]
public string? Arch { get; set; }

Property Value

string?

Current

public static LauncherOSRule Current { get; }

Property Value

LauncherOSRule

Name

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string?

Version

[JsonPropertyName("version")]
public string? Version { get; set; }

Property Value

string?