Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }
Exemplo n.º 3
0
 /**
  * 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);
 }
Exemplo n.º 4
0
 /**
  * Disband a ranked team
  *
  * @param teamId The id of the team
  * @return unknown
  */
 public Object disbandTeam(TeamId teamId) {
   return client.sendRpcAndWait(SERVICE, "disbandTeam", teamId);
 }
Exemplo n.º 5
0
 /**
  * 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);
 }
Exemplo n.º 6
0
 /**
  * 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);
 }
Exemplo n.º 7
0
 /**
  * Create a ranked team player?
  *
  * @return The created player?
  */
 public Player createPlayer() {
   return client.sendRpcAndWait(SERVICE, "createPlayer");
 }
Exemplo n.º 8
0
 /**
  * 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);
 }