Beispiel #1
0
 /**
  * Get the total last month's production of the given cargo at an industry.
  * @param industry_id The index of the industry.
  * @param cargo_id The index of the cargo.
  * @returns The last month's production of the given cargo for this industry.
  */
 public static int GetLastMonthProduction(IndustryID industry_id, CargoID cargo_id)
 {
     throw null;
 }
Beispiel #2
0
 /**
  * Get the total amount of cargo transported from an industry last month.
  * @param industry_id The index of the industry.
  * @param cargo_id The index of the cargo.
  * @returns The amount of given cargo transported from this industry last month.
  */
 public static int GetLastMonthTransported(IndustryID industry_id, CargoID cargo_id)
 {
     throw null;
 }
Beispiel #3
0
 /**
  * See whether an industry currently accepts a certain cargo.
  * @param industry_id The index of the industry.
  * @param cargo_id The index of the cargo.
  * @returns Whether the industry accepts, temporarily refuses or never accepts this cargo.
  */
 public static CargoAcceptState IsCargoAccepted(IndustryID industry_id, CargoID cargo_id)
 {
     throw null;
 }
Beispiel #4
0
 /**
  * Get the amount of cargo stockpiled for processing.
  * @param industry_id The index of the industry.
  * @param cargo_id The index of the cargo.
  * @returns The amount of cargo that is waiting for processing.
  */
 public static int GetStockpiledCargo(IndustryID industry_id, CargoID cargo_id)
 {
     throw null;
 }
Beispiel #5
0
 /// <param name="industry_id">The new industry.</param>
 public AIEventIndustryOpen(IndustryID industry_id) : base(AIEventType.ET_INDUSTRY_OPEN)
 {
     throw null;
 }
Beispiel #6
0
 /**
  * Get the manhattan distance from the tile to the AIIndustry.GetLocation()
  *  of the industry.
  * @param industry_id The industry to get the distance to.
  * @param tile The tile to get the distance to.
  * @returns The distance between industry and tile.
  */
 public static int GetDistanceManhattanToTile(IndustryID industry_id, TileIndex tile)
 {
     throw null;
 }
Beispiel #7
0
 /**
  * Gets the location of the industry's dock.
  * @param industry_id The index of the industry.
  * @returns The location of the industry's dock.
  */
 public static TileIndex GetDockLocation(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #8
0
 /// <param name="industry_id">The industry to get the list of cargoes it accepts from.</param>
 public AICargoList_IndustryAccepting(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #9
0
 /**
  * Gets the location of the industry's heliport.
  * @param industry_id The index of the industry.
  * @returns The location of the industry's heliport.
  */
 public static TileIndex GetHeliportLocation(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #10
0
 /**
  * Does this industry have a dock?
  * @param industry_id The index of the industry.
  * @returns True when the industry has a dock.
  */
 public static bool HasDock(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #11
0
 /**
  * Does this industry have a heliport?
  * @param industry_id The index of the industry.
  * @returns True when the industry has a heliport.
  */
 public static bool HasHeliport(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #12
0
 /**
  * Is this industry built on water.
  * @param industry_id The index of the industry.
  * @returns True when the industry is built on water.
  */
 public static bool IsBuiltOnWater(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #13
0
 /**
  * Get the square distance from the tile to the AIIndustry.GetLocation()
  *  of the industry.
  * @param industry_id The industry to get the distance to.
  * @param tile The tile to get the distance to.
  * @returns The distance between industry and tile.
  */
 public static int GetDistanceSquareToTile(IndustryID industry_id, TileIndex tile)
 {
     throw null;
 }
Beispiel #14
0
 /**
  * @param industry_id The industry to create the ScriptTileList around.
  * @param radius The coverage radius of the station type you will be using.
  * @note A station part built on any of the returned tiles will give you coverage.
  */
 public AITileList_IndustryAccepting(IndustryID industry_id, int radius)
 {
     throw null;
 }
Beispiel #15
0
 /**
  * Get the IndustryType of the industry.
  * @param industry_id The index of the industry.
  * @returns The IndustryType of the industry.
  */
 public static IndustryType GetIndustryType(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #16
0
 /**
  * @param industry_id The industry to create the ScriptTileList around.
  * @param radius The coverage radius of the station type you will be using.
  * @note A station part built on any of the returned tiles will give you acceptance.
  */
 public AITileList_IndustryProducing(IndustryID industry_id, int radius)
 {
     throw null;
 }
Beispiel #17
0
 /**
  * Checks whether the given industry index is valid.
  * @param industry_id The index to check.
  * @returns True if and only if the industry is valid.
  */
 public static bool IsValidIndustry(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #18
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="industry_id"></param>
 public AICargoList_IndustryProducing(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #19
0
 /**
  * Get the name of the industry.
  * @param industry_id The industry to get the name of.
  * @returns The name of the industry.
  */
 public static string GetName(IndustryID industry_id)
 {
     throw null;
 }
Beispiel #20
0
 /// <param name="industry_id">The new industry.</param>
 public AIEventIndustryClose(IndustryID industry_id) : base(AIEventType.ET_INDUSTRY_CLOSE)
 {
     throw null;
 }
Beispiel #21
0
 /**
  * Get the number of stations around an industry. All stations that can
  * service the industry are counted, your own stations but also your
  * opponents stations.
  * @param industry_id The index of the industry.
  * @returns The number of stations around an industry.
  */
 public static int GetAmountOfStationsAround(IndustryID industry_id)
 {
     throw null;
 }