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.core.mutation
/
SetWeatherMutation
Set
Weather
Mutation
data
class
SetWeatherMutation
(
val
weatherEffectId
:
String
,
val
duration
:
Int
?
=
null
,
val
sourceId
:
String
?
=
null
)
:
BattleMutation
设置天气变更。
Members
Constructors
Set
Weather
Mutation
Link copied to clipboard
constructor
(
weatherEffectId
:
String
,
duration
:
Int
?
=
null
,
sourceId
:
String
?
=
null
)
Properties
duration
Link copied to clipboard
val
duration
:
Int
?
可选的持续回合数。
source
Id
Link copied to clipboard
val
sourceId
:
String
?
可选的来源单位标识。
weather
Effect
Id
Link copied to clipboard
val
weatherEffectId
:
String
目标天气 effect 标识。