OpenTTD NoAI API
|
Event Subidy Awarded, indicating a subsidy is awarded to some company. More...
Public Member Functions | |
AIEventSubsidyAwarded (SubsidyID subsidy_id) | |
SubsidyID | GetSubsidyID () |
Get the SubsidyID of the subsidy. | |
Static Public Member Functions | |
static AIEventSubsidyAwarded * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. |
Event Subidy Awarded, indicating a subsidy is awarded to some company.
AIEventSubsidyAwarded::AIEventSubsidyAwarded | ( | SubsidyID | subsidy_id | ) | [inline] |
subsidy_id | The index of this subsidy in the _subsidies array. |
static AIEventSubsidyAwarded* AIEventSubsidyAwarded::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
SubsidyID AIEventSubsidyAwarded::GetSubsidyID | ( | ) | [inline] |
Get the SubsidyID of the subsidy.