Table of Contents

Class TitleMemory

Namespace
FishMMO.Shared.NameGeneration
Assembly
FishMMO.Shared.dll

Remembers recent titles so a batch does not hand the same authored legend to two characters in a row. One per generator; not shared across peers, and never consulted when a request is seeded, since a seeded title must replay exactly regardless of what was generated before it.

public sealed class TitleMemory
Inheritance
TitleMemory
Inherited Members

Constructors

TitleMemory(int)

public TitleMemory(int capacity = 48)

Parameters

capacity int

Methods

Remember(string)

public void Remember(string title)

Parameters

title string

Seen(string)

public bool Seen(string title)

Parameters

title string

Returns

bool