nn::nex::MatchmakeRefereeClient::EndRoundWithoutReport Member Function

Syntax

qBool EndRoundWithoutReport(
     ProtocolCallContext * pCC,
     qUnsignedInt64 roundId
);

Parameters

Name Description
in pCC Call information.
in roundId ID of the round to be reported.

Return Values

Returns the result of the operation.

Description

Ends a round without sending a report.

Called when a user withdraws from a round on their own. When a user withdraws using this API, it is handled as disconnection because other participants in the round handle it as if the user had disconnected.
For a user that withdraws after losing, other round participants must sent a report indicating that the user lost rather than disconnected. Calling this API does not start counting down the statistics process. Although the end result is the same even without calling this API, call this API because there is no longer a need for a one-minute timeout during calculating statistics.
When summarizing statistics has completed, a NotificationEvents::RoundSummarized notification is sent to the round participants.

Returns QERROR(MatchmakeReferee, RoundNotFound) if there is no target round to report.
Returns QERROR(MatchmakeReferee, AlreadyExists) if the round to report has been reported.
Returns QERROR(MatchmakeReferee, RoundArbitrated) if the summarizing statistics for the round to report have already completed.
Returns QERROR(MatchmakeReferee, RoundNotFound) if a user is not participating in the round to report.

Revision History

2014/09/16
The function now returns QERROR(MatchmakeReferee, AlreadyExists) instead of QERROR(PythonCore, Exception) if a round has already been reported.
2013/12/06
Initial version.

CONFIDENTIAL