avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-service
/
io.github.lishangbu.avalon.game.battle.api
/
SmartItemChoiceRequest
Smart
Item
Choice
Request
data
class
SmartItemChoiceRequest
(
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
Smart
Item
Choice
Request
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
?