OpenTTD NoAI API
|
Event Industry Close, indicating an industry is going to be closed. More...
Public Member Functions | |
AIEventIndustryClose (IndustryID industry_id) | |
IndustryID | GetIndustryID () |
Get the IndustryID of the closing industry. | |
Static Public Member Functions | |
static AIEventIndustryClose * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. |
Event Industry Close, indicating an industry is going to be closed.
AIEventIndustryClose::AIEventIndustryClose | ( | IndustryID | industry_id | ) | [inline] |
industry_id | The new industry. |
static AIEventIndustryClose* AIEventIndustryClose::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
IndustryID AIEventIndustryClose::GetIndustryID | ( | ) | [inline] |
Get the IndustryID of the closing industry.