GSEventCompanyBankrupt Class Reference

Event Company Bankrupt, indicating a company has gone bankrupt. More...

Inheritance diagram for GSEventCompanyBankrupt:

GSEvent

Public Member Functions

 GSEventCompanyBankrupt (Owner owner)
GSCompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that has gone bankrupt.

Static Public Member Functions

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

Detailed Description

Event Company Bankrupt, indicating a company has gone bankrupt.

Constructor & Destructor Documentation

GSEventCompanyBankrupt::GSEventCompanyBankrupt ( Owner  owner  ) 

Parameters:
owner The company that has gone bankrupt.


Member Function Documentation

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

Convert an GSEvent to the real instance.

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

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

Get the CompanyID of the company that has gone bankrupt.

Returns:
The CompanyID of the company that has gone bankrupt.


Generated on Tue Jun 13 19:12:54 2017 for OpenTTD Game API by  doxygen 1.5.6