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
Definition at line 608 of file script_event_types.hpp.
ScriptEventIndustryClose::ScriptEventIndustryClose | ( | IndustryID | industry_id | ) | [inline] |
industry_id | The new industry. |
Definition at line 613 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 623 of file script_event_types.hpp.
IndustryID ScriptEventIndustryClose::GetIndustryID | ( | ) | [inline] |
Get the IndustryID of the closing industry.
Definition at line 629 of file script_event_types.hpp.
References industry_id.