Interface ISceneObjectNameSource
Where a scene object's generated name comes from (SceneObjectNamer): the Naming module's name generator, installed into Source (Phase 4 of the core and modules plan, 2026-11-18). The server resolves the seed, the gender and the place; both peers then build the same name from them.
public interface ISceneObjectNameSource
Methods
DeriveSeed(SceneObjectNamingSettings, string)
The name's seed: from the region and object seeds when set, else fresh. Never 0 (0 means "keep the authored name").
int DeriveSeed(SceneObjectNamingSettings settings, string fallbackObjectSeed)
Parameters
settingsSceneObjectNamingSettingsfallbackObjectSeedstring
Returns
PickGender(SceneObjectNamingSettings, RaceTemplate, int)
The gender a character's name is drawn for, from the settings' policy and the race (an NPC's own unless overridden).
CharacterGender PickGender(SceneObjectNamingSettings settings, RaceTemplate ownRace, int seed)
Parameters
settingsSceneObjectNamingSettingsownRaceRaceTemplateseedint
Returns
ResolvePlace(SceneObjectNamingSettings, Vector3, Scene, out int, out byte)
The biome (its registry ID) and climate variant (its index) a place name is drawn from, at the object's position.
void ResolvePlace(SceneObjectNamingSettings settings, Vector3 position, Scene scene, out int biomeID, out byte variantIndex)
Parameters
settingsSceneObjectNamingSettingspositionVector3sceneScenebiomeIDintvariantIndexbyte
TryBuild(SceneObjectNamingSettings, RaceTemplate, int, CharacterGender, string, int, byte, Scene, out string, out string)
Builds the name from what the server resolved; false, with the reason, when the settings cannot name the object.
bool TryBuild(SceneObjectNamingSettings settings, RaceTemplate ownRace, int seed, CharacterGender gender, string autoProfession, int biomeID, byte variantIndex, Scene scene, out string name, out string error)
Parameters
settingsSceneObjectNamingSettingsownRaceRaceTemplateseedintgenderCharacterGenderautoProfessionstringbiomeIDintvariantIndexbytesceneScenenamestringerrorstring