Difference between revisions of "DCS Class Warehouse"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCSscriptingClasses |cName= Warehouse |vNum= 2.8.8 |xVar= none |inVar= Maybe Airbase* |desc= The warehouse class gives control over warehouses that exist in air...")
 
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
|type=  
 
|type=  
 +
 +
liquid types
 +
0    : jetfuel
 +
1    : Aviation gasoline
 +
2    : MW50
 +
3    : Diesel
 +
 
   
 
   
  
Line 16: Line 23:
 
|staticFuncs= [[DCS_func_getByName|Warehouse.getByName]]
 
|staticFuncs= [[DCS_func_getByName|Warehouse.getByName]]
 
[[DCS_func_getResourceMap|Warehouse.getResourceMap]]
 
[[DCS_func_getResourceMap|Warehouse.getResourceMap]]
 
+
[[DCS_func_getCargoAsWarehouse|Warehouse.getCargoAsWarehouse]]
  
 
|memberFuncs= {{listOfScriptingWarehouseFuncs}}
 
|memberFuncs= {{listOfScriptingWarehouseFuncs}}

Latest revision as of 04:33, 12 July 2024

Scripting Root

Class Name: Warehouse Added with: 2.8.8
Extends: none
Inherits: Maybe Airbase*
Description: The warehouse class gives control over warehouses that exist in airbase objects. These warehouses can limit the aircraft, munitions, and fuel available to coalition aircraft.
Member Functions: addItem, getItemCount, setItem, removeItem, addLiquid, getLiquidAmount, setLiquidAmount, removeLiquid, getOwner, getInventory
Obtained Via: Static Functions Functions Events
Warehouse.getByName

Warehouse.getResourceMap Warehouse.getCargoAsWarehouse

Airbase.getWarehouse
Enumerator Types: liquid types
0    : jetfuel
1    : Aviation gasoline
2    : MW50
3    : Diesel
Description Table Structure:
Notes: