| SkillCalculatorCalculateNewRatingsTPlayer Method |
[This is preliminary documentation and is subject to change.]
Calculates the new ratings for players based on the results of a match.
Namespace:
Ruyi.SDK.Online
Assembly:
SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax public abstract IDictionary<TPlayer, Rating> CalculateNewRatings<TPlayer>(
GameInfo gameInfo,
IEnumerable<IDictionary<TPlayer, Rating>> teams,
params int[] teamRanks
)
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. - teamRanks
- Type: SystemInt32
The ranks of the teams.
Type Parameters
- TPlayer
- The type used to identify the player.
Return Value
Type:
IDictionaryTPlayer,
RatingA list of players and their new rating
See Also