Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventCompanyInTrouble (Owner owner) | |
ScriptCompany::CompanyID | GetCompanyID () |
Get the CompanyID of the company that is in trouble. | |
Static Public Member Functions | |
static ScriptEventCompanyInTrouble * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Attributes | |
ScriptCompany::CompanyID | owner |
The company that is in trouble. |
Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon.
ai game
Definition at line 332 of file script_event_types.hpp.
ScriptEventCompanyInTrouble::ScriptEventCompanyInTrouble | ( | Owner | owner | ) | [inline] |
owner | The company that is in trouble. |
Definition at line 337 of file script_event_types.hpp.
static ScriptEventCompanyInTrouble* ScriptEventCompanyInTrouble::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 347 of file script_event_types.hpp.
ScriptCompany::CompanyID ScriptEventCompanyInTrouble::GetCompanyID | ( | ) | [inline] |
Get the CompanyID of the company that is in trouble.
Definition at line 353 of file script_event_types.hpp.
References owner.