Event Subsidy Expired, indicating a route that was once subsidized no longer is. More...
#include <ai_event_types.hpp>
Public Member Functions | |
AIEventSubsidyExpired (SubsidyID subsidy_id) | |
SubsidyID | GetSubsidyID () |
Get the SubsidyID of the subsidy. | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. | |
static AIEventSubsidyExpired * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. | |
Private Attributes | |
SubsidyID | subsidy_id |
Event Subsidy Expired, indicating a route that was once subsidized no longer is.
Definition at line 185 of file ai_event_types.hpp.
AIEventSubsidyExpired::AIEventSubsidyExpired | ( | SubsidyID | subsidy_id | ) | [inline] |
subsidy_id | The index of this subsidy in the _subsidies array. |
Definition at line 193 of file ai_event_types.hpp.
static AIEventSubsidyExpired* AIEventSubsidyExpired::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
Definition at line 203 of file ai_event_types.hpp.
static const char* AIEventSubsidyExpired::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIEvent.
Definition at line 188 of file ai_event_types.hpp.
SubsidyID AIEventSubsidyExpired::GetSubsidyID | ( | ) | [inline] |
Get the SubsidyID of the subsidy.
Definition at line 209 of file ai_event_types.hpp.