cEngineLib  9
 All Classes Functions Variables
Public Attributes | List of all members
cEngineLib::Infos Class Reference

The class to create object that could be use by cEngineLib.GetBestEngine() ie: local myobject = cEngineLib.Infos(); myobject.engine_id = 34; local result = cEngineLib.GetBestEngine(myobject);. More...

Public Attributes

 engine_id = null
 The engine_id to use, -1 to guess the engine.
 engine_type = null
 The engine_type to use.
 engine_roadtype = null
 The roadtype to use.
 depot = null
 The depot to use, keep it to -1 to get non real results.
 cargo_id = null
 The cargoID to use, -1 to get default cargo.
 bypass = null
 See cEngineLib.CanPullCargo() for its usage.

Detailed Description

The class to create object that could be use by cEngineLib.GetBestEngine() ie: local myobject = cEngineLib.Infos(); myobject.engine_id = 34; local result = cEngineLib.GetBestEngine(myobject);.


The documentation for this class was generated from the following file: