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

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


public class CServerGroupDelPerm extends Command {

  public CServerGroupDelPerm(int groupId, String permName) {
    super("servergroupdelperm");
    add(new KeyValueParam("sgid", groupId));
    add(new KeyValueParam("permsid", permName));
  }
View Full Code Here


public class CChannelMove extends Command {

  public CChannelMove(int channelId, int channelParentId, int order) {
    super("channelmove");
    add(new KeyValueParam("cid", channelId));
    add(new KeyValueParam("cpid", channelParentId));
    if (order < 0) {
      order = 0;
    }
    add(new KeyValueParam("order", order));

  }
View Full Code Here

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

TOP

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

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.