| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // MOLineDefs.swift
- // MiMoLive
- //
- // Created by OneeChan on 2025/9/28.
- //
- import Foundation
- @objc
- enum LineType: Int, Decodable {
- case linePk = 1
- case line = 2
- }
- enum LinePkHistoryType: Int, Decodable {
- case all = 0
- case random = 1
-
- var title: String {
- switch self {
- case .all:
- "All"
- case .random:
- "Random"
- }
- }
- }
- enum LinePkType: Int, Decodable {
- case single = 1
- }
- @objc
- enum LinePKState: Int {
- case none = 0
- case pking = 1
- case punishing = 2
- case draw = 3
- }
- @objc
- enum LinePkResult: Int, Decodable {
- case none = 0
- case draw = 1
- case lose = 2
- case win = 3
- }
|