public async Task<TeamDTO> KickPlayer(Double summonerId, TeamId teamId)
 {
     int Id = Invoke("summonerTeamService", "kickPlayer", new object[] { summonerId, teamId.GetBaseTypedObject() });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     TeamDTO result = new TeamDTO(messageBody);
     results.Remove(Id);
     return result;
 }
 /// 32.)
 public void KickPlayer(Double summonerId, TeamId teamId, TeamDTO.Callback callback)
 {
     TeamDTO cb = new TeamDTO(callback);
     InvokeWithCallback("summonerTeamService", "kickPlayer", new object[] { summonerId, teamId.GetBaseTypedObject() }, cb);
 }
 /// 30.)
 public void CreateTeam(String teamName, String tagName, TeamDTO.Callback callback)
 {
     TeamDTO cb = new TeamDTO(callback);
     InvokeWithCallback("summonerTeamService", "createTeam", new object[] { teamName, tagName }, cb);
 }
 public async Task<TeamDTO> CreateTeam(String teamName, String tagName)
 {
     int Id = Invoke("summonerTeamService", "createTeam", new object[] { teamName, tagName });
     while (!results.ContainsKey(Id))
         await Task.Delay(10);
     TypedObject messageBody = results[Id].GetTO("data").GetTO("body");
     TeamDTO result = new TeamDTO(messageBody);
     results.Remove(Id);
     return result;
 }
 /// 23.)
 public void FindTeamById(TeamId teamId, TeamDTO.Callback callback)
 {
     TeamDTO cb = new TeamDTO(callback);
     InvokeWithCallback("summonerTeamService", "findTeamById", new object[] { teamId.GetBaseTypedObject() }, cb);
 }