MessageMgr::GetSynchronizedFlag
Defined in:
Returns a boolean value indicating whether a new client machine is fully synchronized with the server.
C4Messages.h
Prototype
bool GetSynchronizedFlag(void) const;
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