Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio 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);
 }
Esempio n. 7
0
 /**
  * Create a ranked team player?
  *
  * @return The created player?
  */
 public Player createPlayer() {
   return client.sendRpcAndWait(SERVICE, "createPlayer");
 }
Esempio 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);
 }