Event Company Bankrupt, indicating a company has gone bankrupt. More...
#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 () |
| Get the name of this class to identify it towards squirrel. | |
| static AIEventCompanyBankrupt * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Private Attributes | |
| AICompany::CompanyID | owner |
Event Company Bankrupt, indicating a company has gone bankrupt.
Definition at line 467 of file ai_event_types.hpp.
| AIEventCompanyBankrupt::AIEventCompanyBankrupt | ( | Owner | owner | ) | [inline] |
| owner | The company that has gone bankrupt. |
Definition at line 475 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 485 of file ai_event_types.hpp.
| static const char* AIEventCompanyBankrupt::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIEvent.
Definition at line 470 of file ai_event_types.hpp.
| AICompany::CompanyID AIEventCompanyBankrupt::GetCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that has gone bankrupt.
Definition at line 491 of file ai_event_types.hpp.
1.7.1