Table of Contents

Class TitleTemplate

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

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.

[Serializable]
public class TitleTemplate
Inheritance
TitleTemplate
Inherited Members

Fields

Category

public TitleType Category

Field Value

TitleType

Pattern

[Tooltip("Slots: {honorific} {honorific:place} {honorific:ordinal} {epithet} {rank} {rank:noplace} {legend} {occupation} {profession} {place} {place:race} {universalplace} {ordinal} {pronoun} {deed} {object} {era} {battle} {outcome} {adjective} {qualifier}.")]
public string Pattern

Field Value

string

Register

[Tooltip("Register this composition belongs to; Any fits every register.")]
public TitleRegister Register

Field Value

TitleRegister

Weight

[Tooltip("Relative chance among the usable templates of the same category.")]
public int Weight

Field Value

int