MeatMotion

StringOptions

Configure scrambling, random seed and rich-text handling for FixedString interpolation.

Namespace
MeatMotion
Assembly
MeatMotion

Jump to members

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

Members

ScrambleMode

Character-set mode for unrevealed text.

public ScrambleMode ScrambleMode;

RichTextEnabled

Whether text interpolation accounts for rich-text markup.

public bool RichTextEnabled;

CustomScrambleChars

FixedString64Bytes alphabet for filling unrevealed text in Custom mode.

public FixedString64Bytes CustomScrambleChars;

RandomSeed

Seed used for pseudorandom generation.

public uint RandomSeed;

Equals

Compare for value equality.

public readonly bool Equals(StringOptions other)
Parameters and return value
other
StringOptions Operand for the equality comparison.
Returns
bool
public override readonly bool Equals(object obj)
Parameters and return value
obj
object Operand for the equality comparison.
Returns
bool

GetHashCode

Return the hash code used with value equality.

public override readonly int GetHashCode()
Return value
Returns
int