GameBattleUnitView
data class GameBattleUnitView(val id: String, val currentHp: Int, val maxHp: Int, val metadata: UnitMetadataState, val statusState: AttachedEffectState?, val abilityId: String?, val itemId: String?, val typeIds: List<String>, val volatileStates: Map<String, AttachedEffectState>, val conditionStates: Map<String, AttachedEffectState>, val boosts: Map<String, Int>, val stats: Map<String, Int>, val movePp: Map<String, Int>, val forceSwitchRequested: Boolean)
面向前端的单位状态视图。
Constructors
Link copied to clipboard
constructor(id: String, currentHp: Int, maxHp: Int, metadata: UnitMetadataState, statusState: AttachedEffectState?, abilityId: String?, itemId: String?, typeIds: List<String>, volatileStates: Map<String, AttachedEffectState>, conditionStates: Map<String, AttachedEffectState>, boosts: Map<String, Int>, stats: Map<String, Int>, movePp: Map<String, Int>, forceSwitchRequested: Boolean)