类 SubCommandEX
- java.lang.Object
-
- cn.mcres.gyhhy.MXLib.bukkit.cmd.SubCommandEX
-
- 所有已实现的接口:
CommandTabCompleter
,Translator
- 直接已知子类:
SubCommandExecutor
,SubCommandHelp
,SubCommandMH
public class SubCommandEX extends Object implements Translator, CommandTabCompleter
- 作者:
- 32798
-
-
字段概要
字段 修饰符和类型 字段 说明 protected CommandTabCompleter
ctc
protected Class<?>
declareClass
protected boolean
empc
protected Method
exec
static Looker
lk
String
msg$console_deny
String
msg$no_type_sender
String
msg$permission_deny
protected boolean
norem
protected boolean
puexec
protected boolean
req
protected boolean
reqx
protected Class<? extends CommandSender>
st
protected Object
thiz
-
构造器概要
构造器 限定符 构造器 说明 protected
SubCommandEX()
SubCommandEX(Class cl, Method met, Object thiz)
SubCommandEX(Method met, Object thiz)
-
方法概要
修饰符和类型 方法 说明 protected void
cat(Throwable ex)
protected boolean
check(CommandSender sender, Executer exev)
protected SubCommand
checkup(Class<?> cl, Method met, boolean cclass)
protected CommandTabCompleter
createTabCompleterFromMethod(Class<?> c, Method m, Object t)
boolean
exec(CommandSender sender, Command cmd, String ali, String[] argc, Executer exev)
LanguageTranslator
getLanguageTranslator()
SubCommand
getSC()
protected void
loadTabCompleter(SubCommand sb, Object thiz, Object met)
protected void
loadTabCompleterFromClass(Class<?> clazz, Object thiz)
void
onTabComplete(CommandSender cs, Command cmnd, String string, String[] args, SubCommandEX subcommand, List<String> completes)
void
setLanguageTranslator(LanguageTranslator lt)
protected void
setup(Method met, Object thiz, SubCommand sb)
-
-
-
字段详细资料
-
empc
protected boolean empc
-
puexec
protected boolean puexec
-
req
protected boolean req
-
reqx
protected boolean reqx
-
norem
protected boolean norem
-
st
protected Class<? extends CommandSender> st
-
thiz
protected Object thiz
-
exec
protected Method exec
-
msg$console_deny
public String msg$console_deny
-
msg$permission_deny
public String msg$permission_deny
-
msg$no_type_sender
public String msg$no_type_sender
-
declareClass
protected Class<?> declareClass
-
ctc
protected CommandTabCompleter ctc
-
lk
public static final Looker lk
-
-
方法详细资料
-
checkup
protected SubCommand checkup(Class<?> cl, Method met, boolean cclass)
-
setLanguageTranslator
public void setLanguageTranslator(LanguageTranslator lt)
- 指定者:
setLanguageTranslator
在接口中Translator
-
getLanguageTranslator
public LanguageTranslator getLanguageTranslator()
- 指定者:
getLanguageTranslator
在接口中Translator
-
getSC
public SubCommand getSC()
-
setup
protected void setup(Method met, Object thiz, SubCommand sb)
-
loadTabCompleter
protected void loadTabCompleter(SubCommand sb, Object thiz, Object met)
-
createTabCompleterFromMethod
protected CommandTabCompleter createTabCompleterFromMethod(Class<?> c, Method m, Object t)
-
exec
public boolean exec(CommandSender sender, Command cmd, String ali, String[] argc, Executer exev)
-
check
protected boolean check(CommandSender sender, Executer exev)
-
cat
protected void cat(Throwable ex)
-
onTabComplete
public void onTabComplete(CommandSender cs, Command cmnd, String string, String[] args, SubCommandEX subcommand, List<String> completes)
- 指定者:
onTabComplete
在接口中CommandTabCompleter
-
-