static */
| 79 | } |
| 80 | |
| 81 | /* static */ ScriptCargo::DistributionType ScriptCargo::GetDistributionType(CargoType cargo_type) |
| 82 | { |
| 83 | if (!ScriptCargo::IsValidCargo(cargo_type)) return INVALID_DISTRIBUTION_TYPE; |
| 84 | return (ScriptCargo::DistributionType)_settings_game.linkgraph.GetDistributionType(cargo_type); |
| 85 | } |
| 86 | |
| 87 | /* static */ SQInteger ScriptCargo::GetWeight(CargoType cargo_type, SQInteger amount) |
| 88 | { |
no outgoing calls
no test coverage detected