AIEventIndustryOpen Class Reference

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

Inheritance diagram for AIEventIndustryOpen:

AIEvent

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  ) 

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 Thu May 31 21:43:02 2012 for OpenTTD NoAI API by  doxygen 1.5.6