GSEventCompanyNew Class Reference

Event Company New, indicating a new company has been created. More...

Inheritance diagram for GSEventCompanyNew:

GSEvent

Public Member Functions

 GSEventCompanyNew (Owner owner)
GSCompany::CompanyID GetCompanyID ()
 Get the CompanyID of the company that has been created.

Static Public Member Functions

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

Detailed Description

Event Company New, indicating a new company has been created.

Constructor & Destructor Documentation

GSEventCompanyNew::GSEventCompanyNew ( Owner  owner  ) 

Parameters:
owner The new company.


Member Function Documentation

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

Convert an GSEvent to the real instance.

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

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

Get the CompanyID of the company that has been created.

Returns:
The CompanyID of the company.


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