Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon. More...
#include <ai_event_types.hpp>
Public Member Functions | |
| AIEventCompanyInTrouble (Owner owner) | |
| AICompany::CompanyID | GetCompanyID () |
| Get the CompanyID of the company that is in trouble. | |
Static Public Member Functions | |
| static const char * | GetClassName () |
| Get the name of this class to identify it towards squirrel. | |
| static AIEventCompanyInTrouble * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Private Attributes | |
| AICompany::CompanyID | owner |
Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon.
Definition at line 339 of file ai_event_types.hpp.
| AIEventCompanyInTrouble::AIEventCompanyInTrouble | ( | Owner | owner | ) | [inline] |
| owner | The company that is in trouble. |
Definition at line 347 of file ai_event_types.hpp.
| static AIEventCompanyInTrouble* AIEventCompanyInTrouble::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
Definition at line 357 of file ai_event_types.hpp.
| static const char* AIEventCompanyInTrouble::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIEvent.
Definition at line 342 of file ai_event_types.hpp.
| AICompany::CompanyID AIEventCompanyInTrouble::GetCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that is in trouble.
Definition at line 363 of file ai_event_types.hpp.
1.7.1