GSEventIndustryClose Class Reference

Event Industry Close, indicating an industry is going to be closed. More...

Inheritance diagram for GSEventIndustryClose:

GSEvent

Public Member Functions

 GSEventIndustryClose (IndustryID industry_id)
IndustryID GetIndustryID ()
 Get the IndustryID of the closing industry.

Static Public Member Functions

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

Detailed Description

Event Industry Close, indicating an industry is going to be closed.

Constructor & Destructor Documentation

GSEventIndustryClose::GSEventIndustryClose ( IndustryID  industry_id  ) 

Parameters:
industry_id The new industry.


Member Function Documentation

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

Convert an GSEvent to the real instance.

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

IndustryID GSEventIndustryClose::GetIndustryID (  )  [inline]

Get the IndustryID of the closing industry.

Returns:
The IndustryID of the industry.


Generated on Fri Apr 1 19:08:55 2016 for OpenTTD Game API by  doxygen 1.5.6