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 () |
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 332 of file ai_event_types.hpp.
AIEventCompanyInTrouble::AIEventCompanyInTrouble | ( | Owner | owner | ) | [inline] |
owner | The company that is in trouble. |
Definition at line 339 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 349 of file ai_event_types.hpp.
AICompany::CompanyID AIEventCompanyInTrouble::GetCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that is in trouble.
Definition at line 355 of file ai_event_types.hpp.