Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventIndustryOpen Class Reference

Event Industry Open, indicating a new industry has been created. More...

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventIndustryOpen:
ScriptEvent ScriptObject SimpleCountedObject

Public Member Functions

 ScriptEventIndustryOpen (IndustryID industry_id)
IndustryID GetIndustryID ()
 Get the IndustryID of the new industry.

Static Public Member Functions

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

Private Attributes

IndustryID industry_id
 The industry that opened.

Detailed Description

Event Industry Open, indicating a new industry has been created.

ai game

Definition at line 578 of file script_event_types.hpp.


Constructor & Destructor Documentation

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

Definition at line 583 of file script_event_types.hpp.


Member Function Documentation

static ScriptEventIndustryOpen* ScriptEventIndustryOpen::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 593 of file script_event_types.hpp.

IndustryID ScriptEventIndustryOpen::GetIndustryID (  )  [inline]

Get the IndustryID of the new industry.

Returns:
The IndustryID of the industry.

Definition at line 599 of file script_event_types.hpp.

References industry_id.


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