Event Industry Open, indicating a new industry has been created. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventIndustryOpen (IndustryID industry_id) | |
IndustryID | GetIndustryID () |
Get the IndustryID of the new industry. | |
Static Public Member Functions | |
static ScriptEventIndustryOpen * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Attributes | |
IndustryID | industry_id |
The industry that opened. |
Event Industry Open, indicating a new industry has been created.
ai
Definition at line 577 of file script_event_types.hpp.
ScriptEventIndustryOpen::ScriptEventIndustryOpen | ( | IndustryID | industry_id | ) | [inline] |
industry_id | The new industry. |
Definition at line 582 of file script_event_types.hpp.
static ScriptEventIndustryOpen* ScriptEventIndustryOpen::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 592 of file script_event_types.hpp.
IndustryID ScriptEventIndustryOpen::GetIndustryID | ( | ) | [inline] |
Get the IndustryID of the new industry.
Definition at line 598 of file script_event_types.hpp.
References industry_id.