Class NameData
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
A Sinda name, e.g., MAIN.1.
[MessagePackObject(true)]
public class NameData
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
NameData()
Initializes a new instance of the
public NameData()
NameData(string, int)
Initializes a new instance of the
public NameData(string submodel, int id)
Parameters
submodel string
The submodel.
id int
The ID.
Properties
Id
public int Id { get; set; }
Property Value
Submodel
public SubmodelNameData Submodel { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
A string that represents the current object.