BattleState

data class BattleState(var currentBattleInfo: StateFlow<BattleInfo?>, var battleUsers: StateFlow<List<SeatUserInfo>>, var battleScore: StateFlow<Map<String, Int>>)

PK related state data provided by BattleStore.

Constructors

Link copied to clipboard
constructor(currentBattleInfo: StateFlow<BattleInfo?>, battleUsers: StateFlow<List<SeatUserInfo>>, battleScore: StateFlow<Map<String, Int>>)

Properties

Link copied to clipboard
var battleScore: StateFlow<Map<String, Int>>

PK score mapping.

Link copied to clipboard
var battleUsers: StateFlow<List<SeatUserInfo>>

PK user list. {@link $SeatUserInfo$}

Link copied to clipboard
var currentBattleInfo: StateFlow<BattleInfo?>

Current PK information. {@link BattleInfo}