Open main menu

Changes

Documentation/Engine/Configuration variables/g cargo sort

1,229 bytes added, 10:36, 11 February 2016
Created page with "\t\tcase ([0-9])+:\n\t\t\tjobs.sort_by<cargo_sort_trait_(.*)_(.*)_order_t>\(\);\n\t\t\tbreak; {| |'''Name:''' || g_cargo_sort |- |'''Purpose:''' || Current cargo sort metho..."
\t\tcase ([0-9])+:\n\t\t\tjobs.sort_by<cargo_sort_trait_(.*)_(.*)_order_t>\(\);\n\t\t\tbreak;
{|
|'''Name:''' || g_cargo_sort
|-
|'''Purpose:''' || Current cargo sort method.
|-
|'''Config:''' || global
|-
|'''Value:''' || integer - sort_method
|}

=sort_method:=

{| class="wikitable"
!Value || Description
|-
| 0 || Sort by price in descending order.
|-
| 1 || Sort by price in ascending order.
|-
| 2 || Sort by price/km in descending order.
|-
| 3 || Sort by price/km in ascending order.
|-
| 4 || jobs.sort_by<cargo_sort_trait_expiration_ascending_order_t>();
|-
| 5 || Sort by expiration in descending order.
|-
| 6 || Sort by origin in ascending order.
|-
| 7 || Sort by origin in descending order.
|-
| 8 || Sort by dest in ascending order.
|-
| 9 || Sort by dest in descending order.
|-
| 10 || Sort by route length in ascending order.
|-
| 11 || Sort by route length in descending order.
|-
| 12 || Sort by weight in ascending order.
|-
| 13 || Sort by weight in descending order.
|-
| 14 || Sort by source company in ascending order.
|-
| 15 || Sort by source company in descending order.
|-
| 16 || Sort by target company in ascending order.
|-
| 17 || Sort by target company in descending order.
|}
developer
1,626
edits