Package com.github.theholywaffle.teamspeak3.commands.parameter

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


public class CChannelGroupPermList extends Command{

  public CChannelGroupPermList(int groupId) {
    super("channelgrouppermlist");
    add(new KeyValueParam("cgid",groupId+""));
    add(new OptionParam("permsid"));
  }
View Full Code Here


public class CClientFind extends Command{

  public CClientFind(String pattern) {
    super("clientfind");
    add(new KeyValueParam("pattern",pattern));
  }
View Full Code Here

    this(name, PermissionGroupDatabaseType.REGULAR);
  }

  public CServerGroupAdd(String name, PermissionGroupDatabaseType t) {
    super("servergroupadd");
    add(new KeyValueParam("name", name));
    add(new KeyValueParam("type", t.getIndex()));
  }
View Full Code Here

public class CPermFind extends Command{

  public CPermFind(String permName) {
    super("permfind");
    add(new KeyValueParam("permsid",permName));
  }
View Full Code Here

public class CServerGroupAutoAddPerm extends Command {

  public CServerGroupAutoAddPerm(ServerGroupType t, String permName,
      int permValue, boolean permNegated, boolean permSkipped) {
    super("servergroupautoaddperm");
    add(new KeyValueParam("sgtype", t.getIndex()));
    add(new KeyValueParam("permsid", permName));
    add(new KeyValueParam("permvalue", permValue));
    add(new KeyValueParam("permnegated", permNegated ? "1" : "0"));
    add(new KeyValueParam("permskip", permSkipped ? "1" : "0"));
  }
View Full Code Here

public class CChannelClientDelPerm extends Command{

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

public class CServerGroupAddClient extends Command {

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

public class CClientGetDBIdFromUId extends Command{

  public CClientGetDBIdFromUId(String clientUId) {
    super("clientgetdbidfromuid");
    add(new KeyValueParam("cluid",clientUId));
  }
View Full Code Here

public class CChannelPermList extends Command {

  public CChannelPermList(int channelId) {
    super("channelpermlist");
    add(new KeyValueParam("cid",channelId+""));
    add(new OptionParam("permsid"));
  }
View Full Code Here

public class CChannelGroupDelPerm extends Command{

  public CChannelGroupDelPerm(int groupId, String permName) {
    super("channelgroupdelperm");
    add(new KeyValueParam("cgid",groupId+""));
    add(new KeyValueParam("permsid",permName));
  }
View Full Code Here

TOP

Related Classes of com.github.theholywaffle.teamspeak3.commands.parameter.KeyValueParam

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.