Table of Contents

Namespace FishMMO.Shared.NameGeneration

Classes

BiomePhonology

Phonology + vocabulary for a biome.

CharacterEntry

A generated character entry: given name, optional family name and title, and the derived meaning.

CityNameEntry

A generated city entry.

DungeonNameEntry

A generated dungeon entry.

ItemNameEntry

A generated legendary item entry.

NamingTableUtility

Helpers that turn the serialized table rows into runtime lookups.

POIKindWeight

How often a request for Any draws one kind.

POINameEntry

A generated point-of-interest entry.

PlaceNameTemplate

One way of composing a point-of-interest name, authored in the grammar asset like a TitleTemplate. The pattern names its slots in braces — {Type} of {RacePlural} gives "Cave of Orcs" — and a composition whose slots cannot be filled for a request (a race slot with no race) is simply not used.

RaceCitySuffixes

City suffix sets for a single race.

RaceNamingData

Everything the name generator knows about one race, carried on its RaceTemplate: phonology, cultural variants, the places its titles refer to, its title vocabulary, and its city-name endings.

The serialized fields are what designers edit in the Race inspector; the runtime views are built once when the race registers with RaceRegistry, or lazily on first use.

RacePhonology

Phonology for a single race or cultural variant.

RaceTitles

Title arrays organized by category for a single race.

SerializableBiomePhonology

Inspector-editable phonology and vocabulary for a biome.

SerializableCultureVariant

A cultural variant of a race: its own phonology under the race's titles and places.

SerializableRaceCitySuffixes

City-name endings for one race, by city type.

SerializableRacePhonology

Inspector-editable phonology for a race or one of its cultures. Converted to the runtime RacePhonology once, when the template loads.

SerializableRaceTitles

Title vocabulary for one race, by category.

StableHash

Cross-process-stable hashing used for deterministic seed derivation.

string.GetHashCode() is randomized per AppDomain in modern .NET (a HashDoS mitigation). That is fatal for an MMO content pipeline where two servers MUST generate the same content from the same seed. These helpers produce the same value across processes, runtimes, and platforms for the same input bytes.

Algorithm: FNV-1a over UTF-8 bytes.

StringListMapping

A string-to-list table row, e.g. a POI type and the suffixes it can take.

StringMapping

A string-to-string table row. Unity cannot serialize a dictionary, so the naming templates author their lookup tables as ordered lists of these; order matters for the tables that are scanned for a prefix or suffix match.

TitleTemplate

One way of composing a title, authored in the grammar asset. The pattern names its slots in braces — {honorific:place} of {place} — and the builder fills them from the race's tables and the grammar; a template whose slots cannot all be filled for a given race is simply not used.

WeightedCoda

One coda syllable and how often it should be drawn relative to the others.

Enums

CityType

City type categories for generation.

ItemType

Category of legendary item to generate.

POIType

POI category types for generation.

TitleRegister

The social register a title belongs to. A banker wants a Civil title, a warchief a Martial one, a legendary hero a Mythic one; Any lets the name's meaning decide.

TitleType

Category of title to generate. None asks for no title at all; it is last so authored TitleTemplate.Category values keep their ints.