Event Town Founded, indicating a new town has been created. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventTownFounded (TownID town) | |
TownID | GetTownID () |
Get the TownID of the town. | |
Static Public Member Functions | |
static ScriptEventTownFounded * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Attributes | |
TownID | town |
The town that got founded. |
Event Town Founded, indicating a new town has been created.
ai
Definition at line 772 of file script_event_types.hpp.
ScriptEventTownFounded::ScriptEventTownFounded | ( | TownID | town | ) | [inline] |
town | The town that was created. |
Definition at line 777 of file script_event_types.hpp.
static ScriptEventTownFounded* ScriptEventTownFounded::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 787 of file script_event_types.hpp.
TownID ScriptEventTownFounded::GetTownID | ( | ) | [inline] |
Get the TownID of the town.
Definition at line 793 of file script_event_types.hpp.
References town.