/** * Create a new ranked team with the specified name and tag * * @param name The name * @param tag The tag * @return The created team */ public Team createTeam(String name, String tag) { return client.sendRpcAndWait(SERVICE, "createTeam", name, tag); }
/** * Check if a name for a ranked team could be picked * * @param name The name * @return <code>true</code> if the name could be picked */ public boolean isNameValidAndAvailable(String name) { return client.sendRpcAndWait(SERVICE, "isNameValidAndAvailable", name); }
/** * Check if a tag for a ranked team could be picked * * @param tag The tag * @return <code>true</code> if the tag could be picked */ public boolean isTagValidAndAvailable(String tag) { return client.sendRpcAndWait(SERVICE, "isTagValidAndAvailable", tag); }
/** * Disband a ranked team * * @param teamId The id of the team * @return unknown */ public Object disbandTeam(TeamId teamId) { return client.sendRpcAndWait(SERVICE, "disbandTeam", teamId); }
/** * Find a team by their name * * @param name The team name * @return The team */ public Team findTeamByName(String name) { return client.sendRpcAndWait(SERVICE, "findTeamByName", name); }
/** * Find a team by their unique id * * @param teamId The team id * @return The team */ public Team findTeamById(TeamId teamId) { return client.sendRpcAndWait(SERVICE, "findTeamById", teamId); }
/** * Create a ranked team player? * * @return The created player? */ public Player createPlayer() { return client.sendRpcAndWait(SERVICE, "createPlayer"); }
/** * Kick a player from the target team * * @param summonerId The id of the player * @param teamId The id of the team * @return The new team state */ public Team kickPlayer(long summonerId, TeamId teamId) { return client.sendRpcAndWait(SERVICE, "kickPlayer", summonerId, teamId); }