Public Member Functions | Static Public Member Functions | Private Attributes

AIEventCompanyNew Class Reference

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

#include <ai_event_types.hpp>

Inheritance diagram for AIEventCompanyNew:
AIEvent AIObject SimpleCountedObject

Public Member Functions

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

Static Public Member Functions

static const char * GetClassName ()
 Get the name of this class to identify it towards squirrel.
static AIEventCompanyNewConvert (AIEvent *instance)
 Convert an AIEvent to the real instance.

Private Attributes

AICompany::CompanyID owner
 The new company.

Detailed Description

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

Definition at line 310 of file ai_event_types.hpp.


Constructor & Destructor Documentation

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

Definition at line 318 of file ai_event_types.hpp.


Member Function Documentation

static AIEventCompanyNew* AIEventCompanyNew::Convert ( AIEvent instance  )  [inline, static]

Convert an AIEvent to the real instance.

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

Definition at line 328 of file ai_event_types.hpp.

static const char* AIEventCompanyNew::GetClassName (  )  [inline, static]

Get the name of this class to identify it towards squirrel.

Reimplemented from AIEvent.

Definition at line 313 of file ai_event_types.hpp.

AICompany::CompanyID AIEventCompanyNew::GetCompanyID (  )  [inline]

Get the CompanyID of the company that has been created.

Returns:
The CompanyID of the company.

Definition at line 334 of file ai_event_types.hpp.

References owner.


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