Package com.github.theholywaffle.teamspeak3

Examples of com.github.theholywaffle.teamspeak3.TS3Query


public class CClientDBList extends Command{

  public CClientDBList(int begin, int amount, boolean count) {
    super("clientdblist");
    add(new KeyValueParam("start", begin+""));
    add(new KeyValueParam("duration", amount+""));
    if(count){
      add(new OptionParam("count"));
    }
   
  }
View Full Code Here


public class CMessageAdd extends Command {

  public CMessageAdd(String clientUId, String subject, String message) {
    super("messageadd");
    add(new KeyValueParam("cluid",clientUId));
    add(new KeyValueParam("subject",subject));
    add(new KeyValueParam("message",message));
  }
View Full Code Here

public class CClientDBFind extends Command {

  public CClientDBFind(String pattern, boolean uid) {
    super("clientdbfind");
    add(new KeyValueParam("pattern", pattern));
    if (uid) {
      add(new OptionParam("uid"));
    }
  }
View Full Code Here

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

TOP

Related Classes of com.github.theholywaffle.teamspeak3.TS3Query

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.