Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventCompanyNew Class Reference

Event Company New, indicating a new company has been created. More...

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventCompanyNew:
ScriptEvent ScriptObject SimpleCountedObject

Public Member Functions

 ScriptEventCompanyNew (Owner owner)
ScriptCompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that has been created.

Static Public Member Functions

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

Private Attributes

ScriptCompany::CompanyID owner
 The new company.

Detailed Description

Event Company New, indicating a new company has been created.

ai

Definition at line 299 of file script_event_types.hpp.


Constructor & Destructor Documentation

ScriptEventCompanyNew::ScriptEventCompanyNew ( Owner  owner  )  [inline]
Parameters:
owner The new company.

Definition at line 304 of file script_event_types.hpp.


Member Function Documentation

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

ScriptCompany::CompanyID ScriptEventCompanyNew::GetCompanyID (  )  [inline]

Get the CompanyID of the company that has been created.

Returns:
The CompanyID of the company.

Definition at line 320 of file script_event_types.hpp.

References owner.


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