Skip to main content
Namespace: OpenTD.Results.Dataset
Assembly: OpenTD.Results.dll
A class to generalize “items” that are associated with data, e.g., entities (nodes, lumps, etc.), registers, record numbers, etc.

Inheritance

object ← ItemIdentifier

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

ItemIdentifier(Types, string, long, long, string)

Parameters

type ItemIdentifier.Types submodel string id long recordNum long registerName string

ItemIdentifier(string)

Parameters

sindaName string

ItemIdentifier(string, long)

Parameters

submodel string id long

Properties

AutoCommenter

Property Value

AutoCommenter

Comment

Property Value

string

Id

Property Value

long

InternalSuggestedComment

Property Value

string

RecordNum

Property Value

long

RegisterName

Property Value

string

Submodel

Property Value

string

Type

Property Value

ItemIdentifier.Types

Methods

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.

GetSelfSuggestedComment()

Returns

string

ToString()

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Operators

operator ==(ItemIdentifier, ItemIdentifier)

Parameters

x1 ItemIdentifier x2 ItemIdentifier

Returns

bool

operator !=(ItemIdentifier, ItemIdentifier)

Parameters

x1 ItemIdentifier x2 ItemIdentifier

Returns

bool