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

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


public class CMessageDel extends Command{

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


public class CServerGroupsByClientId extends Command{

  public CServerGroupsByClientId(int clientDBId) {
    super("servergroupsbyclientid");
    add(new KeyValueParam("cldbid", clientDBId+""));
  }
View Full Code Here

public class CPrivilegeKeyAdd extends Command{

  public CPrivilegeKeyAdd(int type, int groupId, int channelId, String description) {
    super("privilegekeyadd");
    add(new KeyValueParam("tokentype",type+""));
    add(new KeyValueParam("tokenid1",groupId+""));
    add(new KeyValueParam("tokenid2",channelId+""));
    if(description != null){
      add(new KeyValueParam("tokendescription", description));
    }
  }
View Full Code Here

public class CClientDelPerm extends Command{

  public CClientDelPerm(int clientDBId, String permName) {
    super("clientdelperm");
    add(new KeyValueParam("cldbid",clientDBId+""));
    add(new KeyValueParam("permsid",permName));
  }
View Full Code Here

public class CInstanceEdit extends Command{

  public CInstanceEdit(ServerInstanceProperty p, String value) {
    super("instanceedit");
    add(new KeyValueParam(p.getName(), value));
  }
View Full Code Here

public class CPrivilegeKeyDelete extends Command {

  public CPrivilegeKeyDelete(String token) {
    super("privilegekeydelete");
    add(new KeyValueParam("token",token));
  }
View Full Code Here

  }

  public CChannelGroupCopy(int sourceGroupId, int targetGroupId,
      String groupName, PermissionGroupDatabaseType t) {
    super("channelgroupcopy");
    add(new KeyValueParam("scgid", sourceGroupId));
    add(new KeyValueParam("tcgid", targetGroupId));
    add(new KeyValueParam("name", groupName));
    add(new KeyValueParam("type", t.getIndex()));
  }
View Full Code Here

public class CClientAddPerm extends Command{

  public CClientAddPerm(int clientDBId, String permName,int permValue, boolean permSkipped) {
    super("clientaddperm");
    add(new KeyValueParam("cldbid",clientDBId+""));
    add(new KeyValueParam("permsid",permName));
    add(new KeyValueParam("permvalue",permValue+""));
    add(new KeyValueParam("permskip",permSkipped?"1":"0"));
  }
View Full Code Here

public class CPermOverview extends Command {

  public CPermOverview(int channelId, int clientDBId) {
    super("permoverview");
    add(new KeyValueParam("cid",channelId+""));
    add(new KeyValueParam("cldbid",clientDBId+""));
    add(new KeyValueParam("permid",0+""));
  }
View Full Code Here

  public CClientKick( ReasonIdentifier reason, String reasonMessage,int... clientIds) {
    super("clientkick");
    ArrayParameter p = new ArrayParameter();
    for(int id : clientIds){
      p.add(new KeyValueParam("clid",id+""));
    }
    add(p);
    add(new KeyValueParam("reasonid",reason.getIndex()+""));
    if(reasonMessage != null){
      add(new KeyValueParam("reasonmsg",reasonMessage));
    }   
  }
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.