GSEventCompanyInTrouble Class Reference

Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon. More...

Inheritance diagram for GSEventCompanyInTrouble:

GSEvent

Public Member Functions

 GSEventCompanyInTrouble (Owner owner)
GSCompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that is in trouble.

Static Public Member Functions

static GSEventCompanyInTroubleConvert (GSEvent *instance)
 Convert an GSEvent to the real instance.

Detailed Description

Event Company In Trouble, indicating a company is in trouble and might go bankrupt soon.

Constructor & Destructor Documentation

GSEventCompanyInTrouble::GSEventCompanyInTrouble ( Owner  owner  ) 

Parameters:
owner The company that is in trouble.


Member Function Documentation

static GSEventCompanyInTrouble* GSEventCompanyInTrouble::Convert ( GSEvent instance  )  [inline, static]

Convert an GSEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.

GSCompany::CompanyID GSEventCompanyInTrouble::GetCompanyID (  )  [inline]

Get the CompanyID of the company that is in trouble.

Returns:
The CompanyID of the company in trouble.


Generated on Sun Mar 31 21:37:40 2013 for OpenTTD Game API by  doxygen 1.5.6