GSEventTownFounded Class Reference

Event Town Founded, indicating a new town has been created. More...

Inheritance diagram for GSEventTownFounded:

GSEvent

Public Member Functions

 GSEventTownFounded (TownID town)
TownID GetTownID ()
 Get the TownID of the town.

Static Public Member Functions

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

Detailed Description

Event Town Founded, indicating a new town has been created.

Constructor & Destructor Documentation

GSEventTownFounded::GSEventTownFounded ( TownID  town  ) 

Parameters:
town The town that was created.


Member Function Documentation

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

Convert an GSEvent to the real instance.

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

TownID GSEventTownFounded::GetTownID (  )  [inline]

Get the TownID of the town.

Returns:
The TownID of the town that was created.


Generated on Tue Dec 1 20:18:35 2015 for OpenTTD Game API by  doxygen 1.5.6