OpenTTD NoAI API
|
Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon. More...
Public Member Functions | |
AIEventCompanyInTrouble (Owner owner) | |
AICompany::CompanyID | GetCompanyID () |
Get the CompanyID of the company that is in trouble. | |
Static Public Member Functions | |
static AIEventCompanyInTrouble * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. |
Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon.
AIEventCompanyInTrouble::AIEventCompanyInTrouble | ( | Owner | owner | ) | [inline] |
owner | The company that is in trouble. |
static AIEventCompanyInTrouble* AIEventCompanyInTrouble::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
AICompany::CompanyID AIEventCompanyInTrouble::GetCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that is in trouble.