Package com.github.theholywaffle.teamspeak3.commands.response

Examples of com.github.theholywaffle.teamspeak3.commands.response.DefaultArrayResponse


public class CServerCreate extends Command {

  public CServerCreate(String name, HashMap<VirtualServerProperty, String> map) {
    super("servercreate");
    add(new KeyValueParam(
        VirtualServerProperty.VIRTUALSERVER_NAME.getName(), name));
    if (map != null) {
      for (VirtualServerProperty p : map.keySet()) {
        add(new KeyValueParam(p.getName(), map.get(p)));
      }
    }

  }
View Full Code Here


public class CClientDBDelelete extends Command {

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

public class CChannelAddPerm extends Command {

  public CChannelAddPerm(int channelid, String permName, int permValue) {
    super("channeladdperm");
    add(new KeyValueParam("cid", channelid));
    add(new KeyValueParam("permsid", permName));
    add(new KeyValueParam("permvalue", permValue));
  }
View Full Code Here

public class CServerGroupDelClient extends Command {

  public CServerGroupDelClient(int groupId, int clientDBId) {
    super("servergroupdelclient");
    add(new KeyValueParam("sgid", groupId));
    add(new KeyValueParam("cldbid", clientDBId));
  }
View Full Code Here

public class CChannelGroupDel extends Command {

  public CChannelGroupDel(int channelGroupId, boolean forced) {
    super("channelgroupdel");
    add(new KeyValueParam("cgid",channelGroupId+""));
    add(new KeyValueParam("force", forced?"1":"0"));
  }
View Full Code Here

public class CChannelDelPerm extends Command {

  public CChannelDelPerm(int channelId, String permName) {
    super("channeldelperm");
    add(new KeyValueParam("cid",channelId));
    add(new KeyValueParam("permsid",permName));
  }
View Full Code Here

public class CComplainDel extends Command {

  public CComplainDel(int targetClientDBId, int fromClientDBId) {
    super("complaindel");
    add(new KeyValueParam("tcldbid",targetClientDBId+""));
    add(new KeyValueParam("fcldbid",fromClientDBId+""));
  }
View Full Code Here

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

TOP

Related Classes of com.github.theholywaffle.teamspeak3.commands.response.DefaultArrayResponse

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.