Event Subsidy Offered, indicating someone offered a subsidy. More...
#include <ai_event_types.hpp>
Public Member Functions | |
| AIEventSubsidyOffer (SubsidyID subsidy_id) | |
| SubsidyID | GetSubsidyID () |
| Get the SubsidyID of the subsidy. | |
Static Public Member Functions | |
| static const char * | GetClassName () |
| static AIEventSubsidyOffer * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Private Attributes | |
| SubsidyID | subsidy_id |
Event Subsidy Offered, indicating someone offered a subsidy.
Definition at line 85 of file ai_event_types.hpp.
| AIEventSubsidyOffer::AIEventSubsidyOffer | ( | SubsidyID | subsidy_id | ) | [inline] |
| subsidy_id | The index of this subsidy in the _subsidies array. |
Definition at line 92 of file ai_event_types.hpp.
| static AIEventSubsidyOffer* AIEventSubsidyOffer::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
Definition at line 102 of file ai_event_types.hpp.
| SubsidyID AIEventSubsidyOffer::GetSubsidyID | ( | ) | [inline] |
Get the SubsidyID of the subsidy.
Definition at line 108 of file ai_event_types.hpp.
1.6.1