Package com.github.theholywaffle.teamspeak3.api.wrapper

Examples of com.github.theholywaffle.teamspeak3.api.wrapper.InstanceInfo


public class CServerDelete extends Command {

  public CServerDelete(int id) {
    super("serverdelete");
    add(new KeyValueParam("sid", id));
  }
View Full Code Here


public class CComplainList extends Command {

  public CComplainList(int clientDBId) {
    super("complainlist");
    if(clientDBId> 0){
      add(new KeyValueParam("tcldbid",clientDBId+""));
    }   
  }
View Full Code Here

  }

  public CUse(int id, int port) {
    super("use");
    if(id > 0){
      add(new KeyValueParam("sid", id));
    }   
    if (port > 0) {
      add(new KeyValueParam("port", port));
    }
  }
View Full Code Here

public class CClientEdit extends Command{

  public CClientEdit(int clientId, HashMap<ClientProperty, String> options) {
    super("clientedit");
    add(new KeyValueParam("clid",clientId+""));
    if (options != null) {
      for (ClientProperty p : options.keySet()) {
        if (p.isChangeable()) {
          add(new KeyValueParam(p.getName(), options.get(p)));
        }
      }
    }
  }
View Full Code Here

public class CClientDBInfo extends Command {

  public CClientDBInfo(int clientDBId) {
    super("clientdbinfo");
    add(new KeyValueParam("cldbid",clientDBId+""));
  }
View Full Code Here

  public CClientUpdate(HashMap<ClientProperty, String> options) {
    super("clientupdate");
    if (options != null) {
      for (ClientProperty p : options.keySet()) {
        if (p.isChangeable()) {
          add(new KeyValueParam(p.getName(), options.get(p)));
        }
      }
    }
  }
View Full Code Here

public class CServerGroupPermList extends Command {

  public CServerGroupPermList(int id) {
    super("servergrouppermlist");
    add(new KeyValueParam("sgid", id));
    add(new OptionParam("permsid"));
  }
View Full Code Here

  public CBanAdd(String ip, String name, String uid, long timeInSeconds,
      String reason) {
    super("banadd");
    if (ip != null) {
      add(new KeyValueParam("ip", ip));
    }
    if (name != null) {
      add(new KeyValueParam("name", name));
    }
    if (uid != null) {
      add(new KeyValueParam("uid", uid));
    }
    if (timeInSeconds > 0) {
      add(new KeyValueParam("time", timeInSeconds));
    }
    if (reason != null) {
      add(new KeyValueParam("banreason", reason));
    }
  }
View Full Code Here

public class CClientGetIds extends Command{

  public CClientGetIds(String clientUId) {
    super("clientgetids");
    add(new KeyValueParam("cluid",clientUId));
  }
View Full Code Here

public class CComplainAdd extends Command {

  public CComplainAdd(int clientDBId, String text) {
    super("complainadd");
    add(new KeyValueParam("tcldbid", clientDBId));
    add(new KeyValueParam("message", text));
  }
View Full Code Here

TOP

Related Classes of com.github.theholywaffle.teamspeak3.api.wrapper.InstanceInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.