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

20 lines
286 B
Swift
Raw Normal View History

2021-11-27 11:59:13 +01:00
import Foundation
struct TableInfo: Codable {
let id: String
let name: String
2021-11-30 11:29:41 +01:00
var players: [PlayerName]
var connected: [Bool]
2021-11-27 11:59:13 +01:00
}
extension TableInfo: Comparable {
static func < (lhs: TableInfo, rhs: TableInfo) -> Bool {
lhs.name < rhs.name
}
}