#include <ai_event_types.hpp>
Public Member Functions | |
AIEventCompanyBankrupt (Owner owner) | |
AICompany::CompanyID | GetCompanyID () |
Get the CompanyID of the company that has gone bankrupt. | |
Static Public Member Functions | |
static const char * | GetClassName () |
static AIEventCompanyBankrupt * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. | |
Private Attributes | |
AICompany::CompanyID | owner |
Definition at line 400 of file ai_event_types.hpp.
AIEventCompanyBankrupt::AIEventCompanyBankrupt | ( | Owner | owner | ) | [inline] |
owner | The company that has gone bankrupt. |
Definition at line 407 of file ai_event_types.hpp.
static AIEventCompanyBankrupt* AIEventCompanyBankrupt::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
Definition at line 417 of file ai_event_types.hpp.
AICompany::CompanyID AIEventCompanyBankrupt::GetCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that has gone bankrupt.
Definition at line 423 of file ai_event_types.hpp.