RhythmGame 1.4.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
arena::RoomSnapshot Struct Reference

#include <ArenaTypes.h>

Collaboration diagram for arena::RoomSnapshot:
Collaboration graph
[legend]

Public Member Functions

bool operator== (const RoomSnapshot &) const =default
 

Public Attributes

QString roomId
 
qint64 roomGeneration {}
 
QString name
 
RoomPhase phase { RoomPhase::Selecting }
 
bool hasPassword {}
 
int maxCount { RoomCapacity }
 
std::optional< QString > ownerMemberId { std::nullopt }
 
SelfSeat self
 
QVector< Member > members
 
QVector< ChatMessage > chat
 
std::optional< SelectionSnapshot > selection { std::nullopt }
 
qint64 selectionRevision {}
 
qint64 availabilityRevision {}
 
std::optional< FrozenRound > round { std::nullopt }
 
std::optional< LiveStandingsSnapshot > liveStandings { std::nullopt }
 
std::optional< RoundResultSnapshot > lastRoundResult { std::nullopt }
 
bool competitionShape {}
 

Member Function Documentation

◆ operator==()

bool arena::RoomSnapshot::operator== ( const RoomSnapshot &  ) const
default

Member Data Documentation

◆ availabilityRevision

qint64 arena::RoomSnapshot::availabilityRevision {}

◆ chat

QVector<ChatMessage> arena::RoomSnapshot::chat

◆ competitionShape

bool arena::RoomSnapshot::competitionShape {}

◆ hasPassword

bool arena::RoomSnapshot::hasPassword {}

◆ lastRoundResult

std::optional<RoundResultSnapshot> arena::RoomSnapshot::lastRoundResult { std::nullopt }

◆ liveStandings

std::optional<LiveStandingsSnapshot> arena::RoomSnapshot::liveStandings { std::nullopt }

◆ maxCount

int arena::RoomSnapshot::maxCount { RoomCapacity }

◆ members

QVector<Member> arena::RoomSnapshot::members

◆ name

QString arena::RoomSnapshot::name

◆ ownerMemberId

std::optional<QString> arena::RoomSnapshot::ownerMemberId { std::nullopt }

◆ phase

RoomPhase arena::RoomSnapshot::phase { RoomPhase::Selecting }

◆ roomGeneration

qint64 arena::RoomSnapshot::roomGeneration {}

◆ roomId

QString arena::RoomSnapshot::roomId

◆ round

std::optional<FrozenRound> arena::RoomSnapshot::round { std::nullopt }

◆ selection

std::optional<SelectionSnapshot> arena::RoomSnapshot::selection { std::nullopt }

◆ selectionRevision

qint64 arena::RoomSnapshot::selectionRevision {}

◆ self

SelfSeat arena::RoomSnapshot::self

The documentation for this struct was generated from the following file: