mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 07:46:08 +00:00
Cleanup SRC
This commit is contained in:
@@ -4,52 +4,47 @@ package com.volmit.iris.util;
|
||||
* Represents a pawn command
|
||||
*
|
||||
* @author cyberpwn
|
||||
*
|
||||
*/
|
||||
public interface ICommand
|
||||
{
|
||||
public KList<String> getRequiredPermissions();
|
||||
public interface ICommand {
|
||||
KList<String> getRequiredPermissions();
|
||||
|
||||
/**
|
||||
* Get the name of this command (node)
|
||||
*
|
||||
* @return the node
|
||||
*/
|
||||
public String getNode();
|
||||
/**
|
||||
* Get the name of this command (node)
|
||||
*
|
||||
* @return the node
|
||||
*/
|
||||
String getNode();
|
||||
|
||||
/**
|
||||
* Get all (realized) nodes of this command
|
||||
*
|
||||
* @return the nodes
|
||||
*/
|
||||
public KList<String> getNodes();
|
||||
/**
|
||||
* Get all (realized) nodes of this command
|
||||
*
|
||||
* @return the nodes
|
||||
*/
|
||||
KList<String> getNodes();
|
||||
|
||||
/**
|
||||
* Get all (every) node in this command
|
||||
*
|
||||
* @return all nodes
|
||||
*/
|
||||
public KList<String> getAllNodes();
|
||||
/**
|
||||
* Get all (every) node in this command
|
||||
*
|
||||
* @return all nodes
|
||||
*/
|
||||
KList<String> getAllNodes();
|
||||
|
||||
/**
|
||||
* Add a node to this command
|
||||
*
|
||||
* @param node
|
||||
* the node
|
||||
*/
|
||||
public void addNode(String node);
|
||||
/**
|
||||
* Add a node to this command
|
||||
*
|
||||
* @param node the node
|
||||
*/
|
||||
void addNode(String node);
|
||||
|
||||
/**
|
||||
* Handle a command. If this is a subcommand, parameters after the subcommand
|
||||
* will be adapted in args for you
|
||||
*
|
||||
* @param sender
|
||||
* the volume sender (pre-tagged)
|
||||
* @param args
|
||||
* the arguments after this command node
|
||||
* @return return true to mark it as handled
|
||||
*/
|
||||
public boolean handle(MortarSender sender, String[] args);
|
||||
/**
|
||||
* Handle a command. If this is a subcommand, parameters after the subcommand
|
||||
* will be adapted in args for you
|
||||
*
|
||||
* @param sender the volume sender (pre-tagged)
|
||||
* @param args the arguments after this command node
|
||||
* @return return true to mark it as handled
|
||||
*/
|
||||
boolean handle(MortarSender sender, String[] args);
|
||||
|
||||
public KList<String> handleTab(MortarSender sender, String[] args);
|
||||
KList<String> handleTab(MortarSender sender, String[] args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user