Open Rails

STFReader.ReadInt Method

[This is preliminary documentation and subject to change.]

Read an signed integer {constant_item}

public int ReadInt(
   intdefaultValue
);

Parameters

defaultValue
the default value if an unexpected ')' token is found

Return Value

The next {constant_item} from the STF file.

See Also

STFReader Class | Orts.Parsers.Msts Namespace