Module content.gui.main.cargo_react_util🔗
global record CargoReactUtil
record VehicleCargoInfoParams
vehicleEntity: Engine.Entity showEmpty: boolean showLoadingIndicator: boolean mode: GuiReactUtil.LabelMode cargoTypeFilter: function(CargoTypeId): boolean getEmptyItem: function(): TreeNodeId endrecord LineCargoInfoParams
lineEntity: Engine.Entity makeEmptyItem: TreeNodeId mode: GuiReactUtil.LabelMode endmakeVehicleCargoInfo: function(VehicleCargoInfoParams): TreeNodeId LineCargoInfo: Recipe<LineCargoInfoParams> WarehouseCargoInfo: Recipe<WarehouseCargoInfoParams> makeIcon: function(string, string, string, boolean): TreeNodeId makeCargoIcon: function(CargoTypeId, string, string, boolean, boolean, function(string) : string): TreeNodeId makeCargoClassIcon: function(CargoTypeId, string): TreeNodeId makeTooltipStockCompatibility: function(Engine.Component.TransportVehicle.LoadSpeedModifiers): string makeTooltipVehicleCompatibility: function(Engine.Component.TransportVehicle.LoadSpeedModifiers): stringrecord WarehouseCargoInfoParams
warehouseEntity: Engine.Entity makeEmptyItem: TreeNodeId showTendency: boolean mode: GuiReactUtil.LabelMode endmakeCargoIconLabelIndicator: function(CargoIconLabelIndicatorParams): TreeNodeIdrecord CargoIconLabelIndicatorParams
cargoType: CargoTypeId cargoTypes: {CargoTypeId} iconStyle: string label: string richLabel: GuiReactUtil.RichLabel labelFontColor: GuiReactUtil.LabelFontColor labelMode: GuiReactUtil.LabelMode labelTooltip: string indicatorIconPath: string iconOverride: string loadingIndicator: TreeNodeId shippingState: GuiReactUtil.ShippingState endCargoList: Recipe<CargoListParams>record CargoListParams
gameCtx: GameContext cargoTypeLoadSpeed: {{CargoTypeId, number}} allCargo: boolean endLocationCargoList: Recipe<LocationCargoListParams>record LocationCargoListParams
locationParams: CargoUtil.CargoLocationParams cargoTypeFilter: function(CargoTypeId): boolean layout: LocationCargoListLayout sortOrder: CargoUtil.CargoListSortOrder groupIfAllEmpty: boolean getCargoItemLayout: function(CargoUtil.CargoTypeInfo, GuiReactUtil.ShippingState): TreeNodeId getFrownyIconLayout: function(UtilCargo.CargoQualityData, boolean, GuiReactUtil.ShippingState): TreeNodeId getEmptyItem: function(): TreeNodeId shippingState: GuiReactUtil.ShippingState endCargoInputOutputIndicator: Recipe<CargoInputOutputParams> CargoIconLabelIndicator: Recipe<CargoIconLabelIndicatorParams> makeCargoInputOutputDataForStorage: function(Engine.Entity): CargoReactUtil.CargoInputOutputData makeCargoInputOutputDataForStocklist: function(Engine.Entity, boolean, boolean, boolean, boolean): CargoInputOutputData makeCargoInputOutputDataForConstructionData: function(Engine.Entity): CargoInputOutputData CargoClassSpecialization: Recipe<CargoSpecializationParams> endrecord CargoInputOutputParams
data: CargoInputOutputData inputDistrict: LandUseType outputDistrict: LandUseType showPercentage: boolean end
Category: globals🔗
CargoReactUtil🔗
global record CargoReactUtil
record VehicleCargoInfoParams
vehicleEntity: Engine.Entity showEmpty: boolean showLoadingIndicator: boolean mode: GuiReactUtil.LabelMode cargoTypeFilter: function(CargoTypeId): boolean getEmptyItem: function(): TreeNodeId endrecord LineCargoInfoParams
lineEntity: Engine.Entity makeEmptyItem: TreeNodeId mode: GuiReactUtil.LabelMode endmakeVehicleCargoInfo: function(VehicleCargoInfoParams): TreeNodeId LineCargoInfo: Recipe<LineCargoInfoParams> WarehouseCargoInfo: Recipe<WarehouseCargoInfoParams> makeIcon: function(string, string, string, boolean): TreeNodeId makeCargoIcon: function(CargoTypeId, string, string, boolean, boolean, function(string) : string): TreeNodeId makeCargoClassIcon: function(CargoTypeId, string): TreeNodeId makeTooltipStockCompatibility: function(Engine.Component.TransportVehicle.LoadSpeedModifiers): string makeTooltipVehicleCompatibility: function(Engine.Component.TransportVehicle.LoadSpeedModifiers): stringrecord WarehouseCargoInfoParams
warehouseEntity: Engine.Entity makeEmptyItem: TreeNodeId showTendency: boolean mode: GuiReactUtil.LabelMode endmakeCargoIconLabelIndicator: function(CargoIconLabelIndicatorParams): TreeNodeIdrecord CargoIconLabelIndicatorParams
cargoType: CargoTypeId cargoTypes: {CargoTypeId} iconStyle: string label: string richLabel: GuiReactUtil.RichLabel labelFontColor: GuiReactUtil.LabelFontColor labelMode: GuiReactUtil.LabelMode labelTooltip: string indicatorIconPath: string iconOverride: string loadingIndicator: TreeNodeId shippingState: GuiReactUtil.ShippingState endCargoList: Recipe<CargoListParams>record CargoListParams
gameCtx: GameContext cargoTypeLoadSpeed: {{CargoTypeId, number}} allCargo: boolean endLocationCargoList: Recipe<LocationCargoListParams>record LocationCargoListParams
locationParams: CargoUtil.CargoLocationParams cargoTypeFilter: function(CargoTypeId): boolean layout: LocationCargoListLayout sortOrder: CargoUtil.CargoListSortOrder groupIfAllEmpty: boolean getCargoItemLayout: function(CargoUtil.CargoTypeInfo, GuiReactUtil.ShippingState): TreeNodeId getFrownyIconLayout: function(UtilCargo.CargoQualityData, boolean, GuiReactUtil.ShippingState): TreeNodeId getEmptyItem: function(): TreeNodeId shippingState: GuiReactUtil.ShippingState endCargoInputOutputIndicator: Recipe<CargoInputOutputParams> CargoIconLabelIndicator: Recipe<CargoIconLabelIndicatorParams> makeCargoInputOutputDataForStorage: function(Engine.Entity): CargoReactUtil.CargoInputOutputData makeCargoInputOutputDataForStocklist: function(Engine.Entity, boolean, boolean, boolean, boolean): CargoInputOutputData makeCargoInputOutputDataForConstructionData: function(Engine.Entity): CargoInputOutputData CargoClassSpecialization: Recipe<CargoSpecializationParams> endrecord CargoInputOutputParams
data: CargoInputOutputData inputDistrict: LandUseType outputDistrict: LandUseType showPercentage: boolean end
CargoReactUtil.VehicleCargoInfoParams🔗
record CargoReactUtil.VehicleCargoInfoParams
vehicleEntity: Engine.Entity showEmpty: boolean showLoadingIndicator: boolean mode: GuiReactUtil.LabelMode cargoTypeFilter: function(CargoTypeId): boolean getEmptyItem: function(): TreeNodeId end
CargoReactUtil.VehicleCargoInfoParams.vehicleEntity🔗
CargoReactUtil.VehicleCargoInfoParams.vehicleEntity: Engine.Entity
CargoReactUtil.VehicleCargoInfoParams.showEmpty🔗
CargoReactUtil.VehicleCargoInfoParams.showEmpty: boolean
CargoReactUtil.VehicleCargoInfoParams.showLoadingIndicator🔗
CargoReactUtil.VehicleCargoInfoParams.showLoadingIndicator: boolean
CargoReactUtil.VehicleCargoInfoParams.mode🔗
CargoReactUtil.VehicleCargoInfoParams.mode: GuiReactUtil.LabelMode
CargoReactUtil.VehicleCargoInfoParams.cargoTypeFilter🔗
function CargoReactUtil.VehicleCargoInfoParams.cargoTypeFilter(CargoTypeId): booleanParameters
CargoTypeId
boolean
CargoReactUtil.VehicleCargoInfoParams.getEmptyItem🔗
function CargoReactUtil.VehicleCargoInfoParams.getEmptyItem(): TreeNodeIdReturns
TreeNodeId
CargoReactUtil.LineCargoInfoParams🔗
CargoReactUtil.LineCargoInfoParams.lineEntity🔗
CargoReactUtil.LineCargoInfoParams.lineEntity: Engine.Entity
CargoReactUtil.LineCargoInfoParams.makeEmptyItem🔗
CargoReactUtil.LineCargoInfoParams.makeEmptyItem: TreeNodeId
CargoReactUtil.LineCargoInfoParams.mode🔗
CargoReactUtil.LineCargoInfoParams.mode: GuiReactUtil.LabelMode
CargoReactUtil.WarehouseCargoInfoParams🔗
CargoReactUtil.WarehouseCargoInfoParams.warehouseEntity🔗
CargoReactUtil.WarehouseCargoInfoParams.warehouseEntity: Engine.Entity
CargoReactUtil.WarehouseCargoInfoParams.makeEmptyItem🔗
CargoReactUtil.WarehouseCargoInfoParams.makeEmptyItem: TreeNodeId
CargoReactUtil.WarehouseCargoInfoParams.showTendency🔗
CargoReactUtil.WarehouseCargoInfoParams.showTendency: boolean
CargoReactUtil.WarehouseCargoInfoParams.mode🔗
CargoReactUtil.WarehouseCargoInfoParams.mode: GuiReactUtil.LabelMode
CargoReactUtil.makeVehicleCargoInfo🔗
function CargoReactUtil.makeVehicleCargoInfo(VehicleCargoInfoParams): TreeNodeIdParameters
VehicleCargoInfoParams
TreeNodeId
CargoReactUtil.LineCargoInfo🔗
CargoReactUtil.LineCargoInfo: Recipe<LineCargoInfoParams>
CargoReactUtil.WarehouseCargoInfo🔗
CargoReactUtil.WarehouseCargoInfo: Recipe<WarehouseCargoInfoParams>
CargoReactUtil.makeIcon🔗
function CargoReactUtil.makeIcon(string, string, string, boolean): TreeNodeIdParameters
stringstringstringboolean
TreeNodeId
CargoReactUtil.makeCargoIcon🔗
function CargoReactUtil.makeCargoIcon(CargoTypeId, string, string, boolean, boolean, function(string) : string): TreeNodeIdParameters
CargoTypeIdstringstringbooleanbooleanfunction(string): string
TreeNodeId
CargoReactUtil.makeCargoClassIcon🔗
function CargoReactUtil.makeCargoClassIcon(CargoTypeId, string): TreeNodeIdParameters
CargoTypeIdstring
TreeNodeId
CargoReactUtil.makeTooltipStockCompatibility🔗
function CargoReactUtil.makeTooltipStockCompatibility(Engine.Component.TransportVehicle.LoadSpeedModifiers): stringParameters
Engine.Component.TransportVehicle.LoadSpeedModifiers
string
CargoReactUtil.makeTooltipVehicleCompatibility🔗
function CargoReactUtil.makeTooltipVehicleCompatibility(Engine.Component.TransportVehicle.LoadSpeedModifiers): stringParameters
Engine.Component.TransportVehicle.LoadSpeedModifiers
string
CargoReactUtil.CargoIconLabelIndicatorParams🔗
record CargoReactUtil.CargoIconLabelIndicatorParams
cargoType: CargoTypeId cargoTypes: {CargoTypeId} iconStyle: string label: string richLabel: GuiReactUtil.RichLabel labelFontColor: GuiReactUtil.LabelFontColor labelMode: GuiReactUtil.LabelMode labelTooltip: string indicatorIconPath: string iconOverride: string loadingIndicator: TreeNodeId shippingState: GuiReactUtil.ShippingState end
CargoReactUtil.CargoIconLabelIndicatorParams.cargoType🔗
CargoReactUtil.CargoIconLabelIndicatorParams.cargoType: CargoTypeId
CargoReactUtil.CargoIconLabelIndicatorParams.cargoTypes🔗
CargoReactUtil.CargoIconLabelIndicatorParams.cargoTypes: {CargoTypeId}
CargoReactUtil.CargoIconLabelIndicatorParams.iconStyle🔗
CargoReactUtil.CargoIconLabelIndicatorParams.iconStyle: string
CargoReactUtil.CargoIconLabelIndicatorParams.label🔗
CargoReactUtil.CargoIconLabelIndicatorParams.label: string
CargoReactUtil.CargoIconLabelIndicatorParams.richLabel🔗
CargoReactUtil.CargoIconLabelIndicatorParams.richLabel: GuiReactUtil.RichLabel
CargoReactUtil.CargoIconLabelIndicatorParams.labelFontColor🔗
CargoReactUtil.CargoIconLabelIndicatorParams.labelFontColor: GuiReactUtil.LabelFontColor
CargoReactUtil.CargoIconLabelIndicatorParams.labelMode🔗
CargoReactUtil.CargoIconLabelIndicatorParams.labelMode: GuiReactUtil.LabelMode
CargoReactUtil.CargoIconLabelIndicatorParams.labelTooltip🔗
CargoReactUtil.CargoIconLabelIndicatorParams.labelTooltip: string
CargoReactUtil.CargoIconLabelIndicatorParams.indicatorIconPath🔗
CargoReactUtil.CargoIconLabelIndicatorParams.indicatorIconPath: string
CargoReactUtil.CargoIconLabelIndicatorParams.iconOverride🔗
CargoReactUtil.CargoIconLabelIndicatorParams.iconOverride: string
CargoReactUtil.CargoIconLabelIndicatorParams.loadingIndicator🔗
CargoReactUtil.CargoIconLabelIndicatorParams.loadingIndicator: TreeNodeId
CargoReactUtil.CargoIconLabelIndicatorParams.shippingState🔗
CargoReactUtil.CargoIconLabelIndicatorParams.shippingState: GuiReactUtil.ShippingState
CargoReactUtil.makeCargoIconLabelIndicator🔗
function CargoReactUtil.makeCargoIconLabelIndicator(CargoIconLabelIndicatorParams): TreeNodeIdParameters
CargoIconLabelIndicatorParams
TreeNodeId
CargoReactUtil.CargoListParams🔗
record CargoReactUtil.CargoListParams
gameCtx: GameContext cargoTypeLoadSpeed: {{CargoTypeId, number}} allCargo: boolean end
CargoReactUtil.CargoListParams.gameCtx🔗
CargoReactUtil.CargoListParams.gameCtx: GameContext
CargoReactUtil.CargoListParams.cargoTypeLoadSpeed🔗
CargoReactUtil.CargoListParams.cargoTypeLoadSpeed: {{CargoTypeId, number}}
CargoReactUtil.CargoListParams.allCargo🔗
CargoReactUtil.CargoListParams.allCargo: boolean
CargoReactUtil.CargoList🔗
CargoReactUtil.CargoList: Recipe<CargoListParams>
CargoReactUtil.LocationCargoListParams🔗
record CargoReactUtil.LocationCargoListParams
locationParams: CargoUtil.CargoLocationParams cargoTypeFilter: function(CargoTypeId): boolean layout: LocationCargoListLayout sortOrder: CargoUtil.CargoListSortOrder groupIfAllEmpty: boolean getCargoItemLayout: function(CargoUtil.CargoTypeInfo, GuiReactUtil.ShippingState): TreeNodeId getFrownyIconLayout: function(UtilCargo.CargoQualityData, boolean, GuiReactUtil.ShippingState): TreeNodeId getEmptyItem: function(): TreeNodeId shippingState: GuiReactUtil.ShippingState end
CargoReactUtil.LocationCargoListParams.LocationCargoListLayout🔗
CargoReactUtil.LocationCargoListParams.LocationCargoListLayout."FLOW"🔗
CargoReactUtil.LocationCargoListParams.LocationCargoListLayout."HORIZONTAL"🔗
CargoReactUtil.LocationCargoListParams.LocationCargoListLayout."VERTICAL"🔗
CargoReactUtil.LocationCargoListParams.locationParams🔗
CargoReactUtil.LocationCargoListParams.locationParams: CargoUtil.CargoLocationParams
CargoReactUtil.LocationCargoListParams.cargoTypeFilter🔗
function CargoReactUtil.LocationCargoListParams.cargoTypeFilter(CargoTypeId): booleanParameters
CargoTypeId
boolean
CargoReactUtil.LocationCargoListParams.layout🔗
CargoReactUtil.LocationCargoListParams.layout: LocationCargoListLayout
CargoReactUtil.LocationCargoListParams.sortOrder🔗
CargoReactUtil.LocationCargoListParams.sortOrder: CargoUtil.CargoListSortOrder
CargoReactUtil.LocationCargoListParams.groupIfAllEmpty🔗
CargoReactUtil.LocationCargoListParams.groupIfAllEmpty: boolean
CargoReactUtil.LocationCargoListParams.getCargoItemLayout🔗
function CargoReactUtil.LocationCargoListParams.getCargoItemLayout(CargoUtil.CargoTypeInfo, GuiReactUtil.ShippingState): TreeNodeIdParameters
CargoUtil.CargoTypeInfoGuiReactUtil.ShippingState
TreeNodeId
CargoReactUtil.LocationCargoListParams.getFrownyIconLayout🔗
function CargoReactUtil.LocationCargoListParams.getFrownyIconLayout(UtilCargo.CargoQualityData, boolean, GuiReactUtil.ShippingState): TreeNodeIdParameters
UtilCargo.CargoQualityDatabooleanGuiReactUtil.ShippingState
TreeNodeId
CargoReactUtil.LocationCargoListParams.getEmptyItem🔗
function CargoReactUtil.LocationCargoListParams.getEmptyItem(): TreeNodeIdReturns
TreeNodeId
CargoReactUtil.LocationCargoListParams.shippingState🔗
CargoReactUtil.LocationCargoListParams.shippingState: GuiReactUtil.ShippingState
CargoReactUtil.LocationCargoList🔗
CargoReactUtil.LocationCargoList: Recipe<LocationCargoListParams>
CargoReactUtil.CargoInputOutputData🔗
CargoReactUtil.CargoInputOutputData.CargoData🔗
record CargoReactUtil.CargoInputOutputData.CargoData
count: integer max: integer cargoType: CargoTypeId allCargoType: boolean end
CargoReactUtil.CargoInputOutputData.CargoData.count🔗
CargoReactUtil.CargoInputOutputData.CargoData.count: integer
CargoReactUtil.CargoInputOutputData.CargoData.max🔗
CargoReactUtil.CargoInputOutputData.CargoData.max: integer
CargoReactUtil.CargoInputOutputData.CargoData.cargoType🔗
CargoReactUtil.CargoInputOutputData.CargoData.cargoType: CargoTypeId
CargoReactUtil.CargoInputOutputData.CargoData.allCargoType🔗
CargoReactUtil.CargoInputOutputData.CargoData.allCargoType: boolean
CargoReactUtil.CargoInputOutputData.inputs🔗
CargoReactUtil.CargoInputOutputData.inputs: {CargoData}
CargoReactUtil.CargoInputOutputData.outputs🔗
CargoReactUtil.CargoInputOutputData.outputs: {CargoData}
CargoReactUtil.CargoInputOutputParams🔗
CargoReactUtil.CargoInputOutputParams.data🔗
CargoReactUtil.CargoInputOutputParams.data: CargoInputOutputData
CargoReactUtil.CargoInputOutputParams.inputDistrict🔗
CargoReactUtil.CargoInputOutputParams.inputDistrict: LandUseType
CargoReactUtil.CargoInputOutputParams.outputDistrict🔗
CargoReactUtil.CargoInputOutputParams.outputDistrict: LandUseType
CargoReactUtil.CargoInputOutputParams.showPercentage🔗
CargoReactUtil.CargoInputOutputParams.showPercentage: boolean
CargoReactUtil.CargoInputOutputIndicator🔗
CargoReactUtil.CargoInputOutputIndicator: Recipe<CargoInputOutputParams>
CargoReactUtil.CargoIconLabelIndicator🔗
CargoReactUtil.CargoIconLabelIndicator: Recipe<CargoIconLabelIndicatorParams>
CargoReactUtil.makeCargoInputOutputDataForStorage🔗
function CargoReactUtil.makeCargoInputOutputDataForStorage(Engine.Entity): CargoReactUtil.CargoInputOutputDataParameters
Engine.Entity
CargoReactUtil.CargoInputOutputData
CargoReactUtil.makeCargoInputOutputDataForStocklist🔗
function CargoReactUtil.makeCargoInputOutputDataForStocklist(Engine.Entity, boolean, boolean, boolean, boolean): CargoInputOutputDataParameters
Engine.Entitybooleanbooleanbooleanboolean
CargoInputOutputData
CargoReactUtil.makeCargoInputOutputDataForConstructionData🔗
function CargoReactUtil.makeCargoInputOutputDataForConstructionData(Engine.Entity): CargoInputOutputDataParameters
Engine.Entity
CargoInputOutputData
CargoReactUtil.CargoSpecializationParams🔗
record CargoReactUtil.CargoSpecializationParams
cargoClasses: {string} horizontalLayout: boolean end
CargoReactUtil.CargoSpecializationParams.cargoClasses🔗
CargoReactUtil.CargoSpecializationParams.cargoClasses: {string}
CargoReactUtil.CargoSpecializationParams.horizontalLayout🔗
CargoReactUtil.CargoSpecializationParams.horizontalLayout: boolean
CargoReactUtil.CargoClassSpecialization🔗
CargoReactUtil.CargoClassSpecialization: Recipe<CargoSpecializationParams>