Ruyi SDK
Namespaces
Ruyi.SDK.Online
TwoPlayerEloCalculator Class
TwoPlayerEloCalculator Methods
CalculateMatchQuality Method
CalculateMatchQuality(TPlayer) Method (GameInfo, IEnumerable(IDictionary(TPlayer, Rating)))
Click or drag to resizeClick or drag to resize

TwoPlayerEloCalculatorCalculateMatchQualityTPlayer Method (GameInfo, IEnumerableIDictionaryTPlayer, Rating)

[This is preliminary documentation and is subject to change.]

Calculate the quality of the match.

Namespace:  Ruyi.SDK.Online
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public override double CalculateMatchQuality<TPlayer>(
	GameInfo gameInfo,
	IEnumerable<IDictionary<TPlayer, Rating>> teams
)

Parameters

gameInfo
Type: Ruyi.SDK.OnlineGameInfo
Information on how the game calculates win probabilities.
teams
Type: System.Collections.GenericIEnumerableIDictionaryTPlayer, Rating
A list of teams and their players (in this case should always be two teams with one player each).

Type Parameters

TPlayer
The type used to identify the player.

Return Value

Type: Double
The quality of the match specified.
See Also

Reference

TwoPlayerEloCalculator Class
CalculateMatchQuality Overload
Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com