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