Open Rails

MSTSDieselLocomotive.GetRefillController Method

[This is preliminary documentation and subject to change.]

Returns the controller which refills from the matching pickup point.

public override MSTSNotchController GetRefillController(
   uint type
);

Parameters

type
Pickup type

Return Value

Matching controller or null

See Also

MSTSDieselLocomotive Class | ORTS Namespace