CTR NEX API Reference
nn::nex::MatchmakeRefereeStats クラス

個人統計を表すクラスです。 [詳解]

#include <RendezVous/Services/Jugem/MatchmakeReferee/src/Common/MatchmakeRefereeStats.h>

DDLCLASSMatchmakeRefereeStatsを継承しています。

公開メンバ関数

 MatchmakeRefereeStats ()
 コンストラクタです。
 
virtual ~MatchmakeRefereeStats ()
 デストラクタです。
 
qUnsignedInt32 GetCategory () const
 カテゴリを取得します。 [詳解]
 
PrincipalID GetPrincipalId () const
 MatchmakeReferee の個人統計を更新する際、最後に使われたプリンシパル ID を取得します。 [詳解]
 
qUnsignedInt32 GetRatingValue () const
 レート値を取得します。 [詳解]
 
qUnsignedInt32 GetRecentDisconnectCount () const
 直近 100 ラウンド分の切断数を取得します。 [詳解]
 
qUnsignedInt32 GetRecentDrawCount () const
 直近 100 ラウンド分の引き分け数を取得します。 [詳解]
 
qUnsignedInt32 GetRecentLossCount () const
 直近 100 ラウンド分の負け数を取得します。 [詳解]
 
qUnsignedInt32 GetRecentMismatchCount () const
 直近 100 ラウンド分のレポート不一致数を取得します。 [詳解]
 
qUnsignedInt32 GetRecentViolationCount () const
 直近 100 ラウンド分の違反数を取得します。 [詳解]
 
qUnsignedInt32 GetRecentWinCount () const
 直近 100 ラウンド分の勝ち数を取得します。 [詳解]
 
qUnsignedInt32 GetTotalDisconnectCount () const
 切断数の合計を取得します。 [詳解]
 
qUnsignedInt32 GetTotalDrawCount () const
 引き分け数の合計を取得します。 [詳解]
 
qUnsignedInt32 GetTotalLossCount () const
 負け数の合計を取得します。 [詳解]
 
qUnsignedInt32 GetTotalMismatchCount () const
 レポート不一致数の合計を取得します。 [詳解]
 
qUnsignedInt32 GetTotalViolationCount () const
 違反数の合計を取得します。 [詳解]
 
qUnsignedInt32 GetTotalWinCount () const
 勝ち数の合計を取得します。 [詳解]
 
qUnsignedInt64 GetUniqueId () const
 ユニーク ID を取得します。 [詳解]
 
qBool IsValid () const
 このオブジェクトが有効かどうかを調べます。 [詳解]
 
void Reset ()
 オブジェクトをデフォルトコンストラクタで生成した状態に初期化します。
 
void Trace (qUnsignedInt64 uiTraceFlags=TRACE_ALWAYS) const
 MatchmakeRefereeStatsオブジェクトの内容をトレースします。 [詳解]
 

詳解

個人統計を表すクラスです。

関数詳解

qBool nn::nex::MatchmakeRefereeStats::IsValid ( ) const

このオブジェクトが有効かどうかを調べます。

返値が false だった場合は内部パラメータは無効ですので値を取得しないでください。

戻り値
このオブジェクトが有効なら true 、無効なら false 。
qUnsignedInt64 nn::nex::MatchmakeRefereeStats::GetUniqueId ( ) const

ユニーク ID を取得します。

戻り値
ユニーク ID。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetCategory ( ) const

カテゴリを取得します。

戻り値
カテゴリ。
PrincipalID nn::nex::MatchmakeRefereeStats::GetPrincipalId ( ) const

MatchmakeReferee の個人統計を更新する際、最後に使われたプリンシパル ID を取得します。

戻り値
プリンシパル ID。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRecentDisconnectCount ( ) const

直近 100 ラウンド分の切断数を取得します。

切断数は、レポートの正規化結果から切断と判断された場合、カウントアップされます。

戻り値
切断数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRecentViolationCount ( ) const

直近 100 ラウンド分の違反数を取得します。

違反数は、レポートの正規化結果から違反と判断された場合、カウントアップされます。

戻り値
違反数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRecentMismatchCount ( ) const

直近 100 ラウンド分のレポート不一致数を取得します。

レポート不一致数は、レポートの正規化結果から、過半数となったレポートと異なるレポートを 送信した場合に、カウントアップされます。

戻り値
レポート不一致数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRecentWinCount ( ) const

直近 100 ラウンド分の勝ち数を取得します。

勝ち数は、レポートの正規化結果から勝ちと判断された場合、カウントアップされます。

戻り値
勝ち数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRecentLossCount ( ) const

直近 100 ラウンド分の負け数を取得します。

負け数は、レポートの正規化結果から負けと判断された場合、カウントアップされます。

戻り値
負け数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRecentDrawCount ( ) const

直近 100 ラウンド分の引き分け数を取得します。

引き分け数は、レポートの正規化結果から引き分けと判断された場合、カウントアップされます。

戻り値
引き分け数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetTotalDisconnectCount ( ) const

切断数の合計を取得します。

切断数は、レポートの正規化結果から切断と判断された場合、カウントアップされます。

戻り値
切断数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetTotalViolationCount ( ) const

違反数の合計を取得します。

違反数は、レポートの正規化結果から違反と判断された場合、カウントアップされます。

戻り値
違反数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetTotalMismatchCount ( ) const

レポート不一致数の合計を取得します。

レポート不一致数は、レポートの正規化結果から、過半数となったレポートと異なるレポートを 送信した場合に、カウントアップされます。

戻り値
レポート不一致数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetTotalWinCount ( ) const

勝ち数の合計を取得します。

勝ち数は、レポートの正規化結果から勝ちと判断された場合、カウントアップされます。

戻り値
勝ち数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetTotalLossCount ( ) const

負け数の合計を取得します。

負け数は、レポートの正規化結果から負けと判断された場合、カウントアップされます。

戻り値
負け数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetTotalDrawCount ( ) const

引き分け数の合計を取得します。

引き分け数は、レポートの正規化結果から引き分けと判断された場合、カウントアップされます。

戻り値
引き分け数。
qUnsignedInt32 nn::nex::MatchmakeRefereeStats::GetRatingValue ( ) const

レート値を取得します。

統計を計算した結果が qUnsignedInt32 で収まらない値の場合には結果が丸められます。

  • ratingValue < 0 の場合には 0 が返ります。
  • ratingValue > std::numeric_limits<qUnsignedInt32>::max() の場合には std::numeric_limits<qUnsignedInt32>::max() が返ります。
戻り値
レート値。
void nn::nex::MatchmakeRefereeStats::Trace ( qUnsignedInt64  uiTraceFlags = TRACE_ALWAYS) const

MatchmakeRefereeStatsオブジェクトの内容をトレースします。

引数
[in]uiTraceFlagsTraceLog::SetFlag()の引数と同様です。