Event Industry Close, indicating an industry is going to be closed. More...
#include <script_event_types.hpp>
Public Member Functions | |
| ScriptEventIndustryClose (IndustryID industry_id) | |
| IndustryID | GetIndustryID () |
| Get the IndustryID of the closing industry. | |
Static Public Member Functions | |
| static ScriptEventIndustryClose * | Convert (ScriptEvent *instance) |
| Convert an ScriptEvent to the real instance. | |
Private Attributes | |
| IndustryID | industry_id |
| The industry that closed. | |
Event Industry Close, indicating an industry is going to be closed.
ai game
Definition at line 609 of file script_event_types.hpp.
| ScriptEventIndustryClose::ScriptEventIndustryClose | ( | IndustryID | industry_id | ) | [inline] |
| industry_id | The new industry. |
Definition at line 614 of file script_event_types.hpp.
| static ScriptEventIndustryClose* ScriptEventIndustryClose::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
| instance | The instance to convert. |
Definition at line 624 of file script_event_types.hpp.
| IndustryID ScriptEventIndustryClose::GetIndustryID | ( | ) | [inline] |
Get the IndustryID of the closing industry.
Definition at line 630 of file script_event_types.hpp.
References industry_id.
1.7.1