C4 Engine
C4 Engine API Documentation

Application::HandleGameEvent

Defined in:  C4Application.h
Called to handle an event pertaining to the entire game.
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

Application::HandleConnectionEvent

Application::HandlePlayerEvent