Table of Contents

Class SceneObjectNamingSettings

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Everything a designer sets on a SceneObjectNamer. Authored on the prefab, so it is identical on both peers and never travels over the wire.

[Serializable]
public class SceneObjectNamingSettings
Inheritance
SceneObjectNamingSettings
Inherited Members

Fields

AllowCompoundTitle

[Tooltip("Whether a second clause may be appended ('Lord of Ashford, the Bold'). Off keeps nameplates short.")]
public bool AllowCompoundTitle

Field Value

bool

BiomeID

[Header("Places and items")]
[Tooltip("Biome for Dungeon and Point of Interest names and flavour for City names. Leave unset to read the scene's biome map at the object's position.")]
[TemplateReference(typeof(BiomeTemplate))]
public int BiomeID

Field Value

int

CityType

public CityType CityType

Field Value

CityType

Culture

[Tooltip("Optional culture key within the race, e.g. 'nordic'. Unknown keys fall back to the race's own phonology.")]
public string Culture

Field Value

string

GenderPolicy

[Header("Character")]
public NamingGenderPolicy GenderPolicy

Field Value

NamingGenderPolicy

ItemType

public ItemType ItemType

Field Value

ItemType

MaxTitleLength

[Tooltip("Longest title allowed on the nameplate; 0 is unlimited.")]
public int MaxTitleLength

Field Value

int

Mode

[Tooltip("Which generator the name comes from.")]
public SceneObjectNamingMode Mode

Field Value

SceneObjectNamingMode

ModifierID

[Tooltip("Optional cross-race flavour layered on the phonology.")]
[TemplateReference(typeof(NameModifierTemplate))]
public int ModifierID

Field Value

int

NameFormat

public CharacterNameFormat NameFormat

Field Value

CharacterNameFormat

ObjectSeed

[Tooltip("Distinguishes objects sharing a region seed. Defaults to the object's authored name.")]
public string ObjectSeed

Field Value

string

POIType

public POIType POIType

Field Value

POIType

Profession

[Tooltip("What this character does, e.g. 'Banker'. Empty uses the Interactable's title when the object has one.")]
public string Profession

Field Value

string

RaceOverrideID

[Header("Race")]
[Tooltip("Race to name from. Leave unset to use the object's FactionController race.")]
[TemplateReference(typeof(RaceTemplate))]
public int RaceOverrideID

Field Value

int

RegionSeed

[Header("Determinism")]
[Tooltip("When set, the name is derived from this and the object seed, so it is the same every time the server starts. Leave empty for a fresh name per spawn.")]
public string RegionSeed

Field Value

string

Register

[Header("Title")]
[Tooltip("Social register of the title: Civil for townsfolk and traders, Martial for soldiers, Mythic for legends.")]
public TitleRegister Register

Field Value

TitleRegister

TitlePolicy

public NamingTitlePolicy TitlePolicy

Field Value

NamingTitlePolicy

Properties

RequiresBiome

True for the modes that cannot produce a name without a biome.

public bool RequiresBiome { get; }

Property Value

bool

UsesBiome

True for the modes whose name is coloured by a biome, required or not.

public bool UsesBiome { get; }

Property Value

bool

UsesRace

True for the modes that name things from a race rather than a biome.

public bool UsesRace { get; }

Property Value

bool