Open Rails

STFReader.ReadHexBlock Method

[This is preliminary documentation and subject to change.]

Read an hexidecimal encoded number from the STF format '( {int_constant} ... )'

public uint ReadHexBlock(
   uintdefaultValue
);

Parameters

defaultValue
the default value if the constant is not found in the block.

Return Value

The STF block with the first {item} converted to a integer constant.

See Also

STFReader Class | Orts.Parsers.Msts Namespace