AIEventSubsidyOfferExpired Class Reference

Event Subsidy Offer Expired, indicating a subsidy will no longer be awarded. More...

Inheritance diagram for AIEventSubsidyOfferExpired:

AIEvent

Public Member Functions

 AIEventSubsidyOfferExpired (SubsidyID subsidy_id)
SubsidyID GetSubsidyID ()
 Get the SubsidyID of the subsidy.

Static Public Member Functions

static AIEventSubsidyOfferExpiredConvert (AIEvent *instance)
 Convert an AIEvent to the real instance.

Detailed Description

Event Subsidy Offer Expired, indicating a subsidy will no longer be awarded.

Constructor & Destructor Documentation

AIEventSubsidyOfferExpired::AIEventSubsidyOfferExpired ( SubsidyID  subsidy_id  ) 

Parameters:
subsidy_id The index of this subsidy in the _subsidies array.


Member Function Documentation

static AIEventSubsidyOfferExpired* AIEventSubsidyOfferExpired::Convert ( AIEvent instance  )  [inline, static]

Convert an AIEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.

SubsidyID AIEventSubsidyOfferExpired::GetSubsidyID (  )  [inline]

Get the SubsidyID of the subsidy.

Returns:
The subsidy id.


Generated on Thu May 31 21:43:02 2012 for OpenTTD NoAI API by  doxygen 1.5.6