C4 Engine
C4 Engine API Documentation

MessageMgr::GetSynchronizedFlag

Defined in:  C4Messages.h
Returns a boolean value indicating whether a new client machine is fully synchronized with the server.
Prototype

bool GetSynchronizedFlag(voidconst;

Description
When a client machine connects to a server, the server sends it information about the game currently being played. Once all of the information has been sent, the server sends a special synchronization message to signal that the client may begin playing the game. In the time between joining a game and receiving the synchronization message from the server, the GetSynchronizedFlag function returns false when called on the client machine. After all of the game state has been received from the server, the GetSynchronizedFlag function returns true.
See Also

MessageMgr::BeginSinglePlayerGame

MessageMgr::BeginMultiplayerGame

MessageMgr::GetServerFlag