|
OpenTTD NoAI API
|
Event Industry Open, indicating a new industry has been created. More...
Public Member Functions | |
| AIEventIndustryOpen (IndustryID industry_id) | |
| IndustryID | GetIndustryID () |
| Get the IndustryID of the new industry. | |
Static Public Member Functions | |
| static AIEventIndustryOpen * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Event Industry Open, indicating a new industry has been created.
| AIEventIndustryOpen::AIEventIndustryOpen | ( | IndustryID | industry_id | ) | [inline] |
| industry_id | The new industry. |
| static AIEventIndustryOpen* AIEventIndustryOpen::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
| IndustryID AIEventIndustryOpen::GetIndustryID | ( | ) | [inline] |
Get the IndustryID of the new industry.
1.7.3