Long Argument
class LongArgument<T>(name: String, min: Long, max: Long, suggestion: SuggestionAction<T>?, action: ContextAction<T>?) : Argument<Long, T>
Content copied to clipboard
Long value argument. You can specify the maximum and minimum values. If you enter it in the wrong coordinate format, an error will be displayed on the client side and even if you try to execute it, it will not be accepted. Expected input: 2
-12
0
See also
Parameters
name
Name of argument.
suggestion
Lambda expression for tab completion of its arguments.
min
The lowest possible value for this argument.
max
The highest possible value for this argument.
Check the following for the specifications of other arguments.
Constructors
LongArgument
Link copied to clipboard
fun <T> LongArgument(name: String, min: Long = Long.MIN_VALUE, max: Long = Long.MAX_VALUE, suggestion: SuggestionAction<T>? = null, action: ContextAction<T>? = null)
Content copied to clipboard