Open Rails

BinaryFileReader Constructor

[This is preliminary documentation and subject to change.]

Assumes that fb is positioned just after the SIMISA@F header filename is provided for error reporting purposes Each block has a token ID. It's value corresponds to the value of the TokenID enum. For some file types, ie .W files, the token value's will be offset into the TokenID table by the specified tokenOffset.

BinaryFileReader(
   Stream inputStream,
   string filename,
   int tokenOffset
);

Parameters

inputStream
filename
tokenOffset

See Also

BinaryFileReader Class | Orts.Parsers.Msts Namespace