GSEventIndustryOpen Class Reference

Event Industry Open, indicating a new industry has been created. More...

Inheritance diagram for GSEventIndustryOpen:

GSEvent

Public Member Functions

 GSEventIndustryOpen (IndustryID industry_id)
IndustryID GetIndustryID ()
 Get the IndustryID of the new industry.

Static Public Member Functions

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

Detailed Description

Event Industry Open, indicating a new industry has been created.

Constructor & Destructor Documentation

GSEventIndustryOpen::GSEventIndustryOpen ( IndustryID  industry_id  ) 

Parameters:
industry_id The new industry.


Member Function Documentation

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

Convert an GSEvent to the real instance.

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

IndustryID GSEventIndustryOpen::GetIndustryID (  )  [inline]

Get the IndustryID of the new industry.

Returns:
The IndustryID of the industry.


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