Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventIndustryClose Class Reference

Event Industry Close, indicating an industry is going to be closed. More...

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventIndustryClose:
ScriptEvent ScriptObject SimpleCountedObject

Public Member Functions

 ScriptEventIndustryClose (IndustryID industry_id)
IndustryID GetIndustryID ()
 Get the IndustryID of the closing industry.

Static Public Member Functions

static ScriptEventIndustryCloseConvert (ScriptEvent *instance)
 Convert an ScriptEvent to the real instance.

Private Attributes

IndustryID industry_id
 The industry that closed.

Detailed Description

Event Industry Close, indicating an industry is going to be closed.

ai game

Definition at line 609 of file script_event_types.hpp.


Constructor & Destructor Documentation

ScriptEventIndustryClose::ScriptEventIndustryClose ( IndustryID  industry_id  )  [inline]
Parameters:
industry_id The new industry.

Definition at line 614 of file script_event_types.hpp.


Member Function Documentation

static ScriptEventIndustryClose* ScriptEventIndustryClose::Convert ( ScriptEvent instance  )  [inline, static]

Convert an ScriptEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.

Definition at line 624 of file script_event_types.hpp.

IndustryID ScriptEventIndustryClose::GetIndustryID (  )  [inline]

Get the IndustryID of the closing industry.

Returns:
The IndustryID of the industry.

Definition at line 630 of file script_event_types.hpp.

References industry_id.


The documentation for this class was generated from the following file: