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

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


public class CServerEdit extends Command{

  public CServerEdit(HashMap<VirtualServerProperty, String> map) {
    super("serveredit");
    for (VirtualServerProperty p : map.keySet()) {
      add(new KeyValueParam(p.getName(), map.get(p)));
    }
  }
View Full Code Here


public class CChannelClientAddPerm extends Command{

  public CChannelClientAddPerm(int channelId, int clientDBId, String permName, int permValue) {
    super("channelclientaddperm");
    add(new KeyValueParam("cid",channelId));
    add(new KeyValueParam("cldbid",clientDBId));
    add(new KeyValueParam("permsid",permName));
    add(new KeyValueParam("permvalue",permValue));
  }
View Full Code Here

public class CMessageGet extends Command {

  public CMessageGet(int messageId) {
    super("messageget");
    add(new KeyValueParam("msgid",messageId+""));
  }
View Full Code Here

public class CBanDel extends Command{

  public CBanDel(int banId) {
    super("bandel");
    add(new KeyValueParam("banid",banId));
  }
View Full Code Here

public class CChannelInfo extends Command {

  public CChannelInfo(int channelId) {
    super("channelinfo");
    add(new KeyValueParam("cid", channelId));
  }
View Full Code Here

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

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.