类 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 CommandTabCompleterctcprotected Class<?>declareClassprotected booleanempcprotected Methodexecstatic LookerlkStringmsg$console_denyStringmsg$no_type_senderStringmsg$permission_denyprotected booleannoremprotected booleanpuexecprotected booleanreqprotected booleanreqxprotected Class<? extends CommandSender>stprotected Objectthiz
-
构造器概要
构造器 限定符 构造器 说明 protectedSubCommandEX()SubCommandEX(Class cl, Method met, Object thiz)SubCommandEX(Method met, Object thiz)
-
方法概要
修饰符和类型 方法 说明 protected voidcat(Throwable ex)protected booleancheck(CommandSender sender, Executer exev)protected SubCommandcheckup(Class<?> cl, Method met, boolean cclass)protected CommandTabCompletercreateTabCompleterFromMethod(Class<?> c, Method m, Object t)booleanexec(CommandSender sender, Command cmd, String ali, String[] argc, Executer exev)LanguageTranslatorgetLanguageTranslator()SubCommandgetSC()protected voidloadTabCompleter(SubCommand sb, Object thiz, Object met)protected voidloadTabCompleterFromClass(Class<?> clazz, Object thiz)voidonTabComplete(CommandSender cs, Command cmnd, String string, String[] args, SubCommandEX subcommand, List<String> completes)voidsetLanguageTranslator(LanguageTranslator lt)protected voidsetup(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
-
-