|
| using | EncodeArenaBinaryResult = std::variant< QByteArray, ArenaBinaryFailure > |
| |
| using | DecodeArenaBinaryResult = std::variant< ArenaBinaryChunk, ArenaBinaryFailure > |
| |
| using | EncodeClientResult = std::variant< QString, ProtocolFailure > |
| |
| using | DecodeServerResult = std::variant< ServerMessage, ProtocolFailure > |
| |
| using | ArenaSelectionBuildResult = std::expected< SelectionSnapshot, ArenaSelectionBuildFailure > |
| |
| using | LiveStandingState = std::variant< LiveActiveStanding, LiveFinishedStanding, LiveDnfStanding > |
| |
| using | FinalStandingState = std::variant< FinalFinishedStanding, FinalDnfStanding > |
| |
| using | ClientMessage = std::variant< ClientHello, DirectorySubscribe, RoomCreate, RoomJoin, RoomLeave, RoomKick, ChatSend, HeartbeatReply, InventoryUploadBegin, InventoryUploadCommit, InventoryUploadAbort, AvailabilityApplied, AvailabilityResync, SelectionSet, ReadySet, RoundProbeResult, RoundLoadResult, RoundTelemetry, RoundResultSubmit, RoundAbandon > |
| |
| using | ResumeResult = std::variant< ResumeNotRequested, ResumeSucceeded, ResumeFailed > |
| |
| using | ServerMessage = std::variant< ServerHello, FatalError, DirectorySnapshot, RoomDirectoryUpdated, RoomSnapshotEvent, RoomMemberJoined, RoomMemberUpdated, RoomMemberLeft, RoomOwnerChanged, ChatMessageEvent, ServerHeartbeat, ServerGoingAway, CommandError, InventoryUploadReady, InventoryCommitted, AvailabilityTransferBegin, AvailabilityTransferCommit, SelectionChanged, SelectionRejected, RoundLoadingStarted, RoundProbeRequested, RoundLoadRequested, RoundStartScheduled, RoundStarted, LiveStandingsSnapshot, RoundTerminalAccepted, RoundFinalized, RoundLaunchCancelled > |
| |
|
| enum class | ArenaBinaryKind : quint8 { InventoryUpload = 1
, AvailabilityReset = 2
, AvailabilityAdd = 3
, AvailabilityRemove = 4
} |
| |
| enum class | ArenaBinaryFailureCode {
FrameTooSmall
, FrameTooLarge
, InvalidMagic
, UnsupportedVersion
,
InvalidKind
, ReservedNotZero
, InvalidTransferId
, InvalidPackedHashes
,
HashCountOutOfRange
, PayloadSizeMismatch
} |
| |
| enum class | ArenaGameplayCaptureFailure {
NoRunner
, WrongScore
, InvalidNumber
, UnsupportedGauge
,
InvalidResult
} |
| |
| enum class | ArenaInventoryFailure { DatabaseError
, InvalidHash
, TooManyCharts
, Cancelled
} |
| |
| enum class | ProtocolFailureCode { MalformedMessage
, FrameTooLarge
, ProtocolIncompatible
, CapabilityRequired
} |
| |
| enum class | ArenaSelectionBuildFailure { InvalidChart
, InvalidSha256
, InvalidRandomSequence
, UnsupportedConfig
} |
| |
| enum class | ArenaProbeFailure {
None
, MissingFile
, HashMismatch
, ReadFailed
,
Cancelled
} |
| |
| enum class | ArenaLoadFailure {
MissingFile
, HashMismatch
, ParseFailed
, UnsupportedConfig
,
ResourceFailed
, Cancelled
} |
| |
| enum class | RoomPhase { Selecting
, Loading
, Playing
} |
| |
| enum class | NoteOrder {
NormalOrMirror
, Random
, SRandom
, RRandom
,
RandomPlus
, SRandomPlus
, BeatorajaRandom
, BeatorajaRandomEx
,
Lr2Random
, Lr2RandomEx
} |
| |
| enum class | DpMode { Off
, Flip
, Lr2Flip
, Battle
} |
| |
| enum class | GaugeType {
Fc
, ExHard
, Hard
, Normal
,
Easy
, AssistEasy
} |
| |
| enum class | ClearType {
Max
, Perfect
, FullCombo
, ExHard
,
Hard
, Normal
, Easy
, AssistEasy
,
Failed
} |
| |
| enum class | DnfReason {
Aborted
, ResultUnavailable
, Left
, Kicked
,
GraceExpired
, PlayDeadline
} |
| |
| enum class | ActiveCompetitionState { Loading
, Playing
} |
| |
| enum class | TerminalKind { Finished
, Dnf
} |
| |
| enum class | ResumeFailureCode { RoomResumeFailed
, CompetitionCapabilityRequired
} |
| |
| enum class | FrozenRoundStage { Probing
, Loading
, Scheduled
, Playing
} |
| |
| enum class | AvailabilityTransferMode { Reset
, Delta
} |
| |
| enum class | SelectionRejectionReason { NotCommon
, Stale
, NotAllowed
} |
| |
| enum class | RoundProbeFailureReason { MissingFile
, HashMismatch
, ReadFailed
, Cancelled
} |
| |
| enum class | RoundLoadFailureReason {
MissingFile
, HashMismatch
, ParseFailed
, UnsupportedConfig
,
ResourceFailed
, Cancelled
} |
| |
| enum class | RoundLaunchCancellationReason {
MissingFile
, HashMismatch
, ReadFailed
, ParseFailed
,
UnsupportedConfig
, ResourceFailed
, ProbeTimeout
, LoadTimeout
,
ParticipantLeft
, ParticipantKicked
, ChartLengthMismatch
, ServerShutdown
,
Cancelled
} |
| |
| enum class | MemberStatus { Connected
, Reserved
} |
| |
| enum class | MemberLeftReason { Left
, Kicked
, GraceExpired
} |
| |
| enum class | InventoryState { Missing
, Syncing
, Ready
} |
| |
| enum class | MemberRoundState {
Eligible
, Waiting
, Probing
, Loading
,
Loaded
, Playing
} |
| |
| enum class | CommandErrorCode {
AuthRequired
, AlreadyInRoom
, NotInRoom
, RoomNotFound
,
RoomPasswordInvalid
, RoomFull
, RoomBanned
, RoomDuplicateIdentity
,
RoomGenerationStale
, ConnectionGenerationStale
, PermissionDenied
, TargetNotFound
,
CannotKickSelf
, ChatEmpty
, ChatTooLong
, RateLimited
,
RoundsCapabilityRequired
, CompetitionCapabilityRequired
, InventoryInvalid
, InventoryStale
,
InventoryCapacityExceeded
, AvailabilityStale
, SelectionNotCommon
, SelectionStale
,
ReadyNotAllowed
, RoundStale
, LaunchStageStale
, ResultInvalid
,
RoundAlreadyTerminal
, ServerCapacity
} |
| |
| enum class | FatalErrorCode {
MalformedMessage
, FrameTooLarge
, UnexpectedBinary
, HelloRequired
,
HelloRepeated
, ProtocolIncompatible
, CapabilityRequired
, InvalidTicket
,
TicketReplayed
, MalformedInventory
} |
| |