Examples of KeyValueParam


Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

public class CChannelDelete extends Command {

  public CChannelDelete(int channelId, boolean forced) {
    super("channeldelete");
    add(new KeyValueParam("cid", channelId));
    add(new KeyValueParam("force", forced ? "1" : "0"));
  }
View Full Code Here

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

public class CMessageGet extends Command {

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

public class CBanDel extends Command{

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

public class CChannelInfo extends Command {

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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

Examples of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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
TOP
Copyright © 2018 www.massapi.com. 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.