Train Docking Rule Set

Contains infromation about the rules that descibe when a trian should depart from a station

Properties

definition : Int

0 = Load/Unload Once, 1 = Fully Load/Unload

Details
Flags RuntimeSync RuntimeParallel

Display Name

Defintion

duration : Float

The amount of time the train will dock at least.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Duration

isDurationAndRule : Bool

True if the duration of the train stop and the other rules have to be applied.

Details
Flags RuntimeSync RuntimeParallel

Display Name

Is Duration and Rule

Functions

getLoadFilters () → filters : Array<Class<ItemType>>

Returns the types of items that will be loaded.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Load Filters

Return Values
Name Type Description

Filters filters

Array<Class<ItemType>>

The item filter array

getUnloadFilters () → filters : Array<Class<ItemType>>

Returns the types of items that will be unloaded.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Get Unload Filters

Return Values
Name Type Description

Filters filters

Array<Class<ItemType>>

The item filter array

setLoadFilters (filters : Array<Class<ItemType>>)

Sets the types of items that will be loaded.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Set Load Filters

Parameters
Name Type Description

Filters filters

Array<Class<ItemType>>

The item filter array

setUnloadFilters (filters : Array<Class<ItemType>>)

Sets the types of items that will be loaded.

Details

Flags

RuntimeSync RuntimeParallel MemberFunc

Display Name

Set Unload Filters

Parameters
Name Type Description

Filters filters

Array<Class<ItemType>>

The item filter array