Schafkopf-Server/Sources/App/Infos/BiddingInfo.swift

17 lines
469 B
Swift
Raw Normal View History

2021-11-30 11:55:13 +01:00
import Foundation
2021-11-30 20:56:04 +01:00
struct BiddingInfo: Codable {
2021-11-30 11:55:13 +01:00
/// The bidding class (0-5) specifying the minimum game that must be played
let highestBidClass: Int
/// The index of the player who currently has the highest bid
let indexOfHighestBidder: Int
/// The index of the player who's turn it is to bid
let indexOfNextBidder: Int
/// Indicates which players are remaining in the bidding process
2021-11-30 20:56:04 +01:00
let remainingBidders: [Bool]
2021-11-30 11:55:13 +01:00
}