コード例 #1
0
 public async Task <PlayerLifetimeStats> GetPlayerStatsById(string id)
 {
     return(await _readOnlyMongoDbService.GetDocumentAsync <PlayerLifetimeStats>(IdFieldKey, id));
 }
コード例 #2
0
 public async Task <Leaderboard> GetLeaderboardAsync(string gameMode)
 {
     return(await _readOnlyMongoDbService.GetDocumentAsync <Leaderboard>(ModeFieldKey, gameMode));
 }