nn::nex::Session::CheckGameIsOver Member Function

Syntax

qBool CheckGameIsOver();

Parameters

None.

Return Values



Value Description
true Returned when the session is ending.
false Returned when the session exists.

Description

Gets whether the Net-Z session has ended.

This function is set when the session master sends a remote method call (RMC) to all participants by using the GameOver function to end a session. It is also set when kicked with the Station::KickStation or Station::KickMe functions.

If TRUE, execute the Terminate process to end the NetZ session.

Under the client-server network topology, a session becomes invalid when a problem occurs with the session master. When the system detects a server problem, the flag is set to true, and the game is informed that the session no longer exists.

See Also

NetZ::SetTerminateImmediately, GameOver, Station::KickStation, Station::KickMe

Revision History

2012/10/30
The flag is now enabled when kicked with the Station::KickStation or Station::KickMe functions.
2012/08/07
Added how this function relates to the GameOver function. Added that the Terminate process is necessary.
2011/01/27
Initial version.

CONFIDENTIAL