Event Industry Close, indicating an industry is going to be closed. More...
#include <ai_event_types.hpp>
Public Member Functions | |
| AIEventIndustryClose (IndustryID industry_id) | |
| IndustryID | GetIndustryID () |
| Get the IndustryID of the closing industry. | |
Static Public Member Functions | |
| static const char * | GetClassName () |
| Get the name of this class to identify it towards squirrel. | |
| static AIEventIndustryClose * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Private Attributes | |
| IndustryID | industry_id |
Event Industry Close, indicating an industry is going to be closed.
Definition at line 632 of file ai_event_types.hpp.
| AIEventIndustryClose::AIEventIndustryClose | ( | IndustryID | industry_id | ) | [inline] |
| industry_id | The new industry. |
Definition at line 640 of file ai_event_types.hpp.
| static AIEventIndustryClose* AIEventIndustryClose::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
Definition at line 650 of file ai_event_types.hpp.
| static const char* AIEventIndustryClose::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIEvent.
Definition at line 635 of file ai_event_types.hpp.
| IndustryID AIEventIndustryClose::GetIndustryID | ( | ) | [inline] |
Get the IndustryID of the closing industry.
Definition at line 656 of file ai_event_types.hpp.
1.7.1