Beispiel #1
0
 /// <param name="subsidy_id">The index of this subsidy in the _subsidies array.</param>
 public AIEventSubsidyExpired(SubsidyID subsidy_id) : base(AIEventType.ET_SUBSIDY_EXPIRED)
 {
     throw null;
 }
Beispiel #2
0
 /// <param name="subsidy_id">The index of this subsidy in the _subsidies array.</param>
 public AIEventSubsidyOffer(SubsidyID subsidy_id) : base(AIEventType.ET_SUBSIDY_OFFER)
 {
     throw null;
 }
Beispiel #3
0
 /// <param name="subsidy_id">The index of this subsidy in the _subsidies array.</param>
 public AIEventSubsidyAwarded(SubsidyID subsidy_id) : base(AIEventType.ET_SUBSIDY_AWARDED)
 {
     throw null;
 }
Beispiel #4
0
 /**
  * Return the source IndustryID/TownID the subsidy is for.
  * \li GetSourceType(subsidy_id) == SPT_INDUSTRY -> return the IndustryID.
  * \li GetSourceType(subsidy_id) == SPT_TOWN -> return the TownID.
  * @param subsidy_id The SubsidyID to check.
  * @returns One of TownID/IndustryID.
  */
 public static int GetSourceIndex(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #5
0
 /**
  * Returns the type of destination of subsidy.
  * @param subsidy_id The SubsidyID to check.
  * @returns Type of destination of subsidy.
  */
 public static SubsidyParticipantType GetDestinationType(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #6
0
 /**
  * Get the cargo type that has to be transported in order to be awarded this
  *  subsidy.
  * @param subsidy_id The SubsidyID to check.
  * @returns The cargo type to transport.
  */
 public static CargoID GetCargoType(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #7
0
 /**
  * Returns the type of source of subsidy.
  * @param subsidy_id The SubsidyID to check.
  * @returns Type of source of subsidy.
  */
 public static SubsidyParticipantType GetSourceType(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #8
0
 /**
  * Get the date this subsidy expires. In case the subsidy is already
  *  awarded, return the date the subsidy expires, else, return the date the
  *  offer expires.
  * @param subsidy_id The SubsidyID to check.
  * @returns The last valid date of this subsidy.
  * @note The return value of this function will change if the subsidy is
  *  awarded.
  */
 public static Date GetExpireDate(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #9
0
 /**
  * Get the company index of the company this subsidy is awarded to.
  * @param subsidy_id The SubsidyID to check.
  * @returns The companyindex of the company this subsidy is awarded to.
  */
 public static CompanyID GetAwardedTo(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #10
0
 /**
  * Checks whether this subsidy is already awarded to some company.
  * @param subsidy_id The SubsidyID to check.
  * @returns True if and only if this subsidy is already awarded.
  */
 public static bool IsAwarded(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #11
0
 /**
  * Check whether this is a valid SubsidyID.
  * @param subsidy_id The SubsidyID to check.
  * @returns True if and only if this subsidy is still valid.
  */
 public static bool IsValidSubsidy(SubsidyID subsidy_id)
 {
     throw null;
 }
Beispiel #12
0
 /**
  * Return the destination IndustryID/TownID the subsidy is for.
  * \li GetDestinationType(subsidy_id) == SPT_INDUSTRY -> return the IndustryID.
  * \li GetDestinationType(subsidy_id) == SPT_TOWN -> return the TownID.
  * @param subsidy_id the SubsidyID to check.
  * @returns One of TownID/IndustryID.
  */
 public static int GetDestinationIndex(SubsidyID subsidy_id)
 {
     throw null;
 }