Application::HandleGameEvent
Defined in:
Called to handle an event pertaining to the entire game.
C4Application.h
Prototype
virtual void HandleGameEvent(GameEvent event, const void *param);
Parameters
event |
The game event type. See below for a list of possible types. |
param |
A pointer to parameter information for the event. |
Description
The HandleGameEvent
function can be overridden by an application-defined subclass of the Application
class. This function is called when a globally applicable event occurs in a multiplayer game. The event
parameter contains one of the following constants.
kGameSynchronized |
The full game state has been received. |
See Also