System Utilities
C4Application.h

class Application

The Application class is the Application Module base class.
Definition

class Application : public Singleton<Application>

Member Functions
Application::HandleConnectionEvent Called to handle a network connection event.
Application::HandlePlayerEvent Called to handle a player-related event.
Application::HandleGameEvent Called to handle an event pertaining to the entire game.
 
Application::ConstructMessage Called to construct an application-defined message.
Application::ReceiveMessage Called when an application-defined message is received.
Application::ApplicationTask Called once per application loop to allow the Application Module to perform periodic processing.
Application::WorldRenderTask Called once per application loop after the world has been rendered.
Application::InterfaceRenderTask Called once per application loop after the graphical user interface has been rendered.
Description
The Application class represents the Application Module and provides an interface through which the Engine Module can communicate with an application. When the Application Module is loaded, the engine calls the Construct function defined in the dynamic link library. The Construct function should return a pointer to a newly-constructed subclass of the Application class.

The Application class's member functions are accessed through the global pointer TheApplication.
Base Classes
Singleton<Application> The application module is accessed through the global pointer TheApplication.