GSEventSubsidyExpired Class Reference

Event Subsidy Expired, indicating a route that was once subsidized no longer is. More...

Inheritance diagram for GSEventSubsidyExpired:

GSEvent

Public Member Functions

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

Static Public Member Functions

static GSEventSubsidyExpiredConvert (GSEvent *instance)
 Convert an GSEvent to the real instance.

Detailed Description

Event Subsidy Expired, indicating a route that was once subsidized no longer is.

Constructor & Destructor Documentation

GSEventSubsidyExpired::GSEventSubsidyExpired ( SubsidyID  subsidy_id  ) 

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


Member Function Documentation

static GSEventSubsidyExpired* GSEventSubsidyExpired::Convert ( GSEvent instance  )  [inline, static]

Convert an GSEvent to the real instance.

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

SubsidyID GSEventSubsidyExpired::GetSubsidyID (  )  [inline]

Get the SubsidyID of the subsidy.

Returns:
The subsidy id.


Generated on Tue Oct 21 19:23:04 2014 for OpenTTD Game API by  doxygen 1.5.6