Class LauncherRule
Namespace: CmlLib.Core.Rules
Assembly: CmlLib.Core.dll
public class LauncherRule
Inheritance
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
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
Methods
MatchFeatures(Dictionary<string, bool>)
public bool MatchFeatures(Dictionary<string, bool> toMatch)
Parameters
toMatch Dictionary<string, bool>