GSEventSubsidyAwarded Class Reference

Event Subsidy Awarded, indicating a subsidy is awarded to some company. More...

Inheritance diagram for GSEventSubsidyAwarded:

GSEvent

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Event Subsidy Awarded, indicating a subsidy is awarded to some company.

Constructor & Destructor Documentation

GSEventSubsidyAwarded::GSEventSubsidyAwarded ( SubsidyID  subsidy_id  ) 

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


Member Function Documentation

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

Convert an GSEvent to the real instance.

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

SubsidyID GSEventSubsidyAwarded::GetSubsidyID (  )  [inline]

Get the SubsidyID of the subsidy.

Returns:
The subsidy id.


Generated on Sun Mar 31 21:37:40 2013 for OpenTTD Game API by  doxygen 1.5.6