mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
ArgumentAcceptance
/
WithTypeConversion
With
Type
Conversion
data
class
WithTypeConversion
(
val
typeVariant
:
TypeVariant
<
*
>
)
:
ArgumentAcceptance
Members
Members & Extensions
Constructors
With
Type
Conversion
Link copied to clipboard
constructor
(
typeVariant
:
TypeVariant
<
*
>
)
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
type
Variant
Link copied to clipboard
val
typeVariant
:
TypeVariant
<
*
>