Event Town Founded, indicating a new town has been created. More...
#include <ai_event_types.hpp>
Public Member Functions | |
AIEventTownFounded (TownID town) | |
TownID | GetTownID () |
Get the TownID of the town. | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. | |
static AIEventTownFounded * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. | |
Private Attributes | |
TownID | town |
Event Town Founded, indicating a new town has been created.
Definition at line 805 of file ai_event_types.hpp.
AIEventTownFounded::AIEventTownFounded | ( | TownID | town | ) | [inline] |
town | The town that was created. |
Definition at line 813 of file ai_event_types.hpp.
static AIEventTownFounded* AIEventTownFounded::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
Definition at line 823 of file ai_event_types.hpp.
static const char* AIEventTownFounded::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIEvent.
Definition at line 808 of file ai_event_types.hpp.
TownID AIEventTownFounded::GetTownID | ( | ) | [inline] |
Get the TownID of the town.
Definition at line 829 of file ai_event_types.hpp.