avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-battle-engine
/
io.github.lishangbu.avalon.game.battle.engine.application
/
SubmitItemChoiceCommand
Submit
Item
Choice
Command
data
class
SubmitItemChoiceCommand
(
val
actorUnitId
:
String
,
val
itemId
:
String
,
val
targetId
:
String
?
=
null
,
val
priority
:
Int
?
=
null
,
val
speed
:
Int
?
=
null
,
val
chanceRoll
:
Int
?
=
null
,
val
attributes
:
Map
<
String
,
Any
?
>
=
emptyMap()
)
智能用道具命令。
Members
Constructors
Submit
Item
Choice
Command
Link copied to clipboard
constructor
(
actorUnitId
:
String
,
itemId
:
String
,
targetId
:
String
?
=
null
,
priority
:
Int
?
=
null
,
speed
:
Int
?
=
null
,
chanceRoll
:
Int
?
=
null
,
attributes
:
Map
<
String
,
Any
?
>
=
emptyMap()
)
Properties
actor
Unit
Id
Link copied to clipboard
val
actorUnitId
:
String
attributes
Link copied to clipboard
val
attributes
:
Map
<
String
,
Any
?
>
chance
Roll
Link copied to clipboard
val
chanceRoll
:
Int
?
item
Id
Link copied to clipboard
val
itemId
:
String
priority
Link copied to clipboard
val
priority
:
Int
?
speed
Link copied to clipboard
val
speed
:
Int
?
target
Id
Link copied to clipboard
val
targetId
:
String
?