mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
ArgumentAcceptance
/
WithContextualConversion
With
Contextual
Conversion
data
class
WithContextualConversion
(
val
parser
:
CommandValueArgumentParser
<
*
>
)
:
ArgumentAcceptance
Members
Members & Extensions
Constructors
With
Contextual
Conversion
Link copied to clipboard
constructor
(
parser
:
CommandValueArgumentParser
<
*
>
)
Properties
acceptance
Level
Link copied to clipboard
@
ConsoleExperimentalApi
val
acceptanceLevel
:
Int
Higher means more acceptable
is
Acceptable
Link copied to clipboard
@
JvmStatic
val
ArgumentAcceptance
.
isAcceptable
:
Boolean
is
Not
Acceptable
Link copied to clipboard
@
JvmStatic
val
ArgumentAcceptance
.
isNotAcceptable
:
Boolean
parser
Link copied to clipboard
val
parser
:
CommandValueArgumentParser
<
*
>