AIEventIndustryOpen Class Reference

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

Inheritance diagram for AIEventIndustryOpen:

AIEvent AIObject

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

AIEventIndustryOpen::AIEventIndustryOpen ( IndustryID  industry_id  )  [inline]

Parameters:
industry_id The new industry.


Member Function Documentation

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

Convert an AIEvent to the real instance.

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

IndustryID AIEventIndustryOpen::GetIndustryID (  )  [inline]

Get the IndustryID of the new industry.

Returns:
The IndustryID of the industry.


Generated on Wed Sep 15 14:11:49 2010 for OpenTTD NoAI API by  doxygen 1.5.6