Schafkopf-Server/Sources/App/Model/PlayerState.swift
2021-12-20 20:18:19 +01:00

26 lines
485 B
Swift

import Foundation
typealias PlayerStateId = String
enum PlayerState: String {
case canDouble = "canDouble"
case didDouble = "doubled"
case isDisconnected = "offline"
case mustBid = "bidder"
case didFold = "fold"
case didBid = "bid"
case isGameSelector = "selects"
case isWeddingOfferer = "wedding"
case isCalled = "called"
case didRaise = "raised"
case leadsGame = "leads"
case isWinner = "winner"
case isLooser = "looser"
}