Public Member Functions | |
AIEventCompanyMerger (Owner old_owner, Owner new_owner) | |
AICompany::CompanyID | GetOldCompanyID () |
Get the CompanyID of the company that has been bought. | |
AICompany::CompanyID | GetNewCompanyID () |
Get the CompanyID of the new owner. | |
Static Public Member Functions | |
static AIEventCompanyMerger * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. |
AIEventCompanyMerger::AIEventCompanyMerger | ( | Owner | old_owner, | |
Owner | new_owner | |||
) | [inline] |
old_owner | The company bought off. | |
new_owner | The company that bougth owner. |
static AIEventCompanyMerger* AIEventCompanyMerger::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
AICompany::CompanyID AIEventCompanyMerger::GetNewCompanyID | ( | ) | [inline] |
Get the CompanyID of the new owner.
AICompany::CompanyID AIEventCompanyMerger::GetOldCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that has been bought.