Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventTownFounded Class Reference

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

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventTownFounded:
ScriptEvent ScriptObject SimpleCountedObject

Public Member Functions

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

Static Public Member Functions

static ScriptEventTownFoundedConvert (ScriptEvent *instance)
 Convert an ScriptEvent to the real instance.

Private Attributes

TownID town
 The town that got founded.

Detailed Description

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

ai game

Definition at line 773 of file script_event_types.hpp.


Constructor & Destructor Documentation

ScriptEventTownFounded::ScriptEventTownFounded ( TownID  town  )  [inline]
Parameters:
town The town that was created.

Definition at line 778 of file script_event_types.hpp.


Member Function Documentation

static ScriptEventTownFounded* ScriptEventTownFounded::Convert ( ScriptEvent instance  )  [inline, static]

Convert an ScriptEvent to the real instance.

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

Definition at line 788 of file script_event_types.hpp.

TownID ScriptEventTownFounded::GetTownID (  )  [inline]

Get the TownID of the town.

Returns:
The TownID of the town that was created.

Definition at line 794 of file script_event_types.hpp.

References town.


The documentation for this class was generated from the following file: