| Modifier and Type | Method and Description |
|---|---|
BiConsumer<Context,String> |
FunnyCommands.getPermissionHandler() |
Map<? extends Class<?>,? extends BiFunction<Context,?,Boolean>> |
FunnyCommands.getResponseHandlers() |
| Modifier and Type | Method and Description |
|---|---|
FunnyCommandsConfiguration |
FunnyCommandsConfiguration.completer(String name,
org.panda_lang.utilities.commons.function.TriFunction<Context,String,Integer,List<String>> completer) |
<R> FunnyCommandsConfiguration |
FunnyCommandsConfiguration.responseHandler(Class<R> responseType,
BiFunction<Context,R,Boolean> responseHandler) |
<T> FunnyCommandsConfiguration |
FunnyCommandsConfiguration.type(String typeName,
Class<T> type,
org.panda_lang.utilities.commons.function.TriFunction<Context,org.panda_lang.utilities.inject.InjectorProperty,String,T> deserializer) |
<A extends Annotation,V,E extends Exception> |
FunnyCommandsConfiguration.validator(@Nullable Class<A> annotation,
@Nullable Class<V> type,
org.panda_lang.utilities.commons.function.ThrowingQuadFunction<Context,A,org.panda_lang.utilities.inject.InjectorProperty,V,Boolean,E> function) |
| Modifier and Type | Method and Description |
|---|---|
static Context |
CommandUtils.getContext(Object... injectorArgs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Validator.validate(Context context,
A annotation,
org.panda_lang.utilities.inject.InjectorProperty property,
V value) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
ChatColorsCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
CustomCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
DyeColorsCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
EmptyCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
EntityTypesCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
MaterialsCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
OnlinePlayersCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
PotionEffectTypesCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
SoundsCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
TimeUnitsCompleter.apply(Context context,
String prefix,
Integer limit) |
List<String> |
WorldsCompleter.apply(Context context,
String prefix,
Integer limit) |
| Constructor and Description |
|---|
CustomCompleter(String name,
org.panda_lang.utilities.commons.function.TriFunction<Context,String,Integer,List<String>> completer) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
BooleanResponseHandler.apply(Context context,
Boolean response) |
Boolean |
MultilineResponseHandler.apply(Context context,
MultilineResponse multilineResponse) |
Boolean |
CustomResponseHandler.apply(Context context,
R response) |
Boolean |
SenderResponseHandler.apply(Context context,
SenderResponse senderResponse) |
Boolean |
StringResponseHandler.apply(Context context,
String response) |
| Constructor and Description |
|---|
CustomResponseHandler(Class<R> responseType,
BiFunction<Context,R,Boolean> responseHandler) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Boolean |
BooleanType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
T |
CustomType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
Double |
DoubleType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
Float |
FloatType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
Integer |
IntegerType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
Long |
LongType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
org.bukkit.entity.Player |
PlayerType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
Short |
ShortType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
String |
StringType.apply(Context context,
org.panda_lang.utilities.inject.InjectorProperty required,
String argument) |
T |
TypeMapper.map(Context context,
org.panda_lang.utilities.inject.InjectorProperty parameter,
String value) |
| Constructor and Description |
|---|
CustomType(String name,
Class<T> type,
org.panda_lang.utilities.commons.function.TriFunction<Context,org.panda_lang.utilities.inject.InjectorProperty,String,T> deserializer) |
TypeMapper(String name,
Class<?> type,
org.panda_lang.utilities.commons.function.TriFunction<Context,org.panda_lang.utilities.inject.InjectorProperty,String,T> deserializer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CustomValidator.validate(Context context,
A annotation,
org.panda_lang.utilities.inject.InjectorProperty parameter,
V value) |
| Constructor and Description |
|---|
CustomValidator(Class<A> annotation,
Class<V> type,
org.panda_lang.utilities.commons.function.ThrowingQuadFunction<Context,A,org.panda_lang.utilities.inject.InjectorProperty,V,Boolean,E> function) |
Copyright © 2021. All rights reserved.