Table of Contents

Class ConfigKeyProtectedString

Namespace
MonkeyLoader.Resonite.Configuration
Assembly
MonkeyLoader.Resonite.Integration.dll

Implements a custom data feed items component that will apply a MaskPattern to the string input for the ConfigKey.

public sealed class ConfigKeyProtectedString : ConfigKeyCustomDataFeedItems<string>, IConfigKeyCustomDataFeedItems<string>, IConfigKeyComponent<IDefiningConfigKey<string>>, IComponent<IDefiningConfigKey<string>>, ICustomDataFeedItems
Inheritance
ConfigKeyProtectedString
Implements
Inherited Members

Remarks

Beware, that only the first of these components will be used, should a config key have multiple.

Constructors

ConfigKeyProtectedString(string)

Creates a new instance of this custom data feed items component that will apply the given maskPattern to the string input for the ConfigKey.

public ConfigKeyProtectedString(string maskPattern = "*")

Parameters

maskPattern string

The mask pattern that will be applied to the string input for the ConfigKey.

Note that while FrooxEngine.UIX.Text.MaskPattern is a string, the content is always masked by repeating the first character only.

Properties

MaskPattern

Gets the mask pattern that will be applied to the string input for the ConfigKey.

public string MaskPattern { get; }

Property Value

string

Remarks

Note that while FrooxEngine.UIX.Text.MaskPattern is a string, the content is always masked by repeating the first character only.

Methods

Enumerate(IReadOnlyList<string>, IReadOnlyList<string>, string?, object?)

Enumerates the FrooxEngine.DataFeedItems that represent this object.

public override IAsyncEnumerable<DataFeedItem> Enumerate(IReadOnlyList<string> path, IReadOnlyList<string> groupKeys, string? searchPhrase, object? viewData)

Parameters

path IReadOnlyList<string>

The path for this enumeration request.

groupKeys IReadOnlyList<string>

The group keys for this enumeration request.

searchPhrase string

The search phrase for this enumeration request.

viewData object

The custom view data for this enumeration request.

Returns

IAsyncEnumerable<DataFeedItem>

An async sequence of FrooxEngine.DataFeedItems that represents this object.