Show / Hide Table of Contents

Class NamingSystem

Figure out how to name a humanoid with these extensions.

Inheritance
System.Object
NamingSystem
Namespace: Content.Shared.Humanoid
Assembly: Content.Shared.dll
Syntax
public sealed class NamingSystem : EntitySystem

Methods

| Improve this Doc View Source

GetFirstName(SpeciesPrototype, Nullable<Gender>)

Declaration
public string GetFirstName(SpeciesPrototype speciesProto, Gender? gender = null)
Parameters
Type Name Description
SpeciesPrototype speciesProto
System.Nullable<Robust.Shared.Enums.Gender> gender
Returns
Type Description
System.String
| Improve this Doc View Source

GetLastName(SpeciesPrototype)

Declaration
public string GetLastName(SpeciesPrototype speciesProto)
Parameters
Type Name Description
SpeciesPrototype speciesProto
Returns
Type Description
System.String
| Improve this Doc View Source

GetName(String, Nullable<Gender>)

Declaration
public string GetName(string species, Gender? gender = null)
Parameters
Type Name Description
System.String species
System.Nullable<Robust.Shared.Enums.Gender> gender
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾