Type Alias EventTopic

Source
pub type EventTopic = c_int;
Expand description

Each event type can be identified through a unique ID, which we call event topic. Events are sent from the engine to AIs.

Note: Do NOT change the values assigned to these topics, as this would be bad for inter-version compatibility. You should always append new event topics at the end of this list, and adjust NUM_EVENTS.

@see SSkirmishAILibrary.handleEvent()