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.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
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 SourceCustomType
The type of the KeyChain in case Custom is selected.
Declaration
public string CustomType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Keys
The collection of Keys in the KeyChain.
Declaration
public ObservableCollection<Key> Keys { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Key> |
Mode
The mode of the KeyChain.
Declaration
public KeyChain.KeychainMode Mode { get; set; }
Property Value
Type | Description |
---|---|
KeyChain.KeychainMode |
Type
The type of the KeyChain.
Declaration
public KeyChain.KeychainType Type { get; set; }
Property Value
Type | Description |
---|---|
KeyChain.KeychainType |
Methods
| Improve this Doc View SourceCheckKeys(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