Table of Contents

Class LauncherRule

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

public class LauncherRule

Inheritance

objectLauncherRule

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Action

[JsonPropertyName("action")]
public string? Action { get; set; }

Property Value

string?

Features

[JsonPropertyName("features")]
public Dictionary<string, bool>? Features { get; set; }

Property Value

Dictionary<string, bool>?

OS

[JsonPropertyName("os")]
public LauncherOSRule? OS { get; set; }

Property Value

LauncherOSRule?

Methods

MatchFeatures(Dictionary<string, bool>)

public bool MatchFeatures(Dictionary<string, bool> toMatch)

Parameters

toMatch Dictionary<string, bool>

Returns

bool