Event Company Ask Merger, indicating a company can be bought (cheaply) by you.
More...
Detailed Description
Event Company Ask Merger, indicating a company can be bought (cheaply) by you.
Constructor & Destructor Documentation
AIEventCompanyAskMerger::AIEventCompanyAskMerger |
( |
Owner |
owner, |
|
|
int32 |
value | |
|
) |
| | [inline] |
- Parameters:
-
| owner | The company that can be bough. |
| value | The value/costs of buying the company. |
Member Function Documentation
bool AIEventCompanyAskMerger::AcceptMerger |
( |
|
) |
|
Take over the company for this merger.
- Returns:
- true if the merger was a success.
Convert an AIEvent to the real instance.
- Parameters:
-
| instance | The instance to convert. |
- Returns:
- The converted instance.
Get the CompanyID of the company that can be bought.
- Returns:
- The CompanyID of the company that can be bought.
- Note:
- If the company is bought this will become invalid.
int32 AIEventCompanyAskMerger::GetValue |
( |
|
) |
[inline] |
Get the value of the new company.
- Returns:
- The value of the new company.