Exemple #1
0
 /// <summary>
 /// </summary>
 /// <param name="session">The session object</param>
 /// <param name="summonerInternalName"></param>
 /// <param name="parameters"></param>
 /// <returns></returns>
 public static Task <dynamic> Post(LeagueClientSession session, string summonerInternalName,
                                   LolLobbyLobbyBotParams parameters) =>
 session.SendRequestAsync <dynamic>("POST",
                                    $"/lol-lobby/v1/lobby/custom/bots/{summonerInternalName}",
                                    body: parameters);
Exemple #2
0
 Post(LeagueClientSession session, LolLobbyLobbyBotParams parameters) =>
 session.SendRequestAsync <dynamic>("POST", "/lol-lobby/v1/lobby/custom/bots",
                                    body: parameters);
Exemple #3
0
 public static Task <object> PostLolLobbyV1LobbyCustomBots([Parameter("parameters", "body")] LolLobbyLobbyBotParams parameters)
 => Sender.Request <object>("post", $"/lol-lobby/v1/lobby/custom/bots", parameters);
Exemple #4
0
 public static Task <object> PostLolLobbyV1LobbyCustomBotsBySummonerInternalName([Parameter("summonerInternalName", "path")] string summonerInternalName, [Parameter("parameters", "body")] LolLobbyLobbyBotParams parameters)
 => Sender.Request <object>("post", $"/lol-lobby/v1/lobby/custom/bots/{summonerInternalName}", parameters);
Exemple #5
0
 /// <summary>
 /// Adds a bot to a custom game lobby.
 /// </summary>
 public Task PostCustomBotAsync(LolLobbyLobbyBotParams parameters)
 => Client.MakeRequestAsync("/lol-lobby/v1/lobby/custom/bots", Method.POST, parameters);