MeatMotion

StringOptions

FixedStringを補間するときのスクランブル文字、乱数シード、リッチテキストの処理を指定します。

Namespace
MeatMotion
Assembly
MeatMotion

メンバー一覧へ

public struct StringOptions : IMotionOptions, IEquatable<StringOptions>
StringMotion.cs · L9

メンバー

ScrambleMode

未確定の文字をどの集合から選ぶかを指定します。

public ScrambleMode ScrambleMode;

RichTextEnabled

文字列補間でリッチテキストのタグを扱うかを指定します。

public bool RichTextEnabled;

CustomScrambleChars

Customモードで未確定部分を埋めるFixedString64Bytesの文字集合です。

public FixedString64Bytes CustomScrambleChars;

RandomSeed

疑似乱数生成に使用するシード値です。

public uint RandomSeed;

Equals

同じ値を表すか比較します。

public readonly bool Equals(StringOptions other)
引数と戻り値
other
StringOptions 等値比較の対象。
戻り値
bool
public override readonly bool Equals(object obj)
引数と戻り値
obj
object 等値比較の対象。
戻り値
bool

GetHashCode

等値比較に対応するハッシュコードを返します。

public override readonly int GetHashCode()
戻り値
戻り値
int