Show / Hide Table of Contents

Class KeyChain

Represents a set of keys that can be checked in a OR/AND fashion and modifies the status of the BotData if successful.

Inheritance
System.Object
ViewModelBase
KeyChain
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
ViewModelBase.PropertyChanged
ViewModelBase.OnPropertyChanged(String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib.Models
Assembly: RuriLib.dll
Syntax
public class KeyChain : ViewModelBase, INotifyPropertyChanged

Properties

| Improve this Doc View Source

CustomType

The type of the KeyChain in case Custom is selected.

Declaration
public string CustomType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Keys

The collection of Keys in the KeyChain.

Declaration
public ObservableCollection<Key> Keys { get; set; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<Key>
| Improve this Doc View Source

Mode

The mode of the KeyChain.

Declaration
public KeyChain.KeychainMode Mode { get; set; }
Property Value
Type Description
KeyChain.KeychainMode
| Improve this Doc View Source

Type

The type of the KeyChain.

Declaration
public KeyChain.KeychainType Type { get; set; }
Property Value
Type Description
KeyChain.KeychainType

Methods

| Improve this Doc View Source

CheckKeys(BotData)

Checks all the Keys in the KeyChain.

Declaration
public bool CheckKeys(BotData data)
Parameters
Type Name Description
BotData data

The BotData used for variable replacement

Returns
Type Description
System.Boolean

Whether the KeyChain was triggered or not

Implements

System.ComponentModel.INotifyPropertyChanged
  • Improve this Doc
  • View Source
Back to top Generated by DocFX