Assembly: OpenTD.dll A submodel name. Implicitly converts to/from string. Automatically converts to uppercase.
Inheritance
object ← SubmodelNameDataInherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()Constructors
SubmodelNameData()
Initializes a new instance of the SubmodelNameData class with default thermal submodel name.SubmodelNameData(string)
Initializes a new instance of the SubmodelNameData class.Parameters
name string
The submodel name.
Properties
Name
Property Value
stringMethods
Check()
Equals(object)
Determines whether the specified object is equal to the current object.Parameters
obj object
The object to compare with the current object.
Returns
bool true if the specified object is equal to the current object; otherwise, false.GetHashCode()
Serves as the default hash function.Returns
int A hash code for the current object.ToString()
Returns a string that represents the current object.Returns
string A string that represents the current object.Operators
operator ==(SubmodelNameData, SubmodelNameData)
Parameters
first SubmodelNameData
second SubmodelNameData
Returns
boolimplicit operator SubmodelNameData(string)
Parameters
submodelName string
Returns
SubmodelNameDataimplicit operator string(SubmodelNameData)
Parameters
s SubmodelNameData
Returns
stringoperator !=(SubmodelNameData, SubmodelNameData)
Parameters
first SubmodelNameData
second SubmodelNameData