Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::userinterface Namespace Reference

Classes

class  GameQueueGate
 

Functions

void resetTimeStep ()
 
void lockGameQueue ()
 
void unlockGameQueue ()
 
bool gameQueueLocked ()
 
void advanceTimeStep ()
 
dice::PromptState & dicePromptState () noexcept
 
const ibar::RuleProjection & iBarRuleStateReadOnly () noexcept
 
auctionui::State & auctionState () noexcept
 
const auctionui::State & auctionStateReadOnly () noexcept
 
tradeui::State & tradeState () noexcept
 
const tradeui::State & tradeStateReadOnly () noexcept
 
optionsui::State & optionsState () noexcept
 
const optionsui::State & optionsStateReadOnly () noexcept
 
optionsui::SaveRuntimeState & optionsSaveState () noexcept
 
const optionsui::SaveRuntimeState & optionsSaveStateReadOnly () noexcept
 
optionsui::CustomBoardState & optionsCustomBoardState () noexcept
 
const optionsui::CustomBoardState & optionsCustomBoardStateReadOnly () noexcept
 
statsui::State & statsState () noexcept
 
const statsui::State & statsStateReadOnly () noexcept
 
statsui::CalculatorUIState & statsCalculatorState () noexcept
 
const statsui::CalculatorUIState & statsCalculatorStateReadOnly () noexcept
 
statsui::FutureImmunityState & statsFutureImmunityState () noexcept
 
const statsui::FutureImmunityState & statsFutureImmunityStateReadOnly () noexcept
 
rules::PlayerNumber chatSenderPlayer () noexcept
 
std::expected< void, std::string > sendReadyResponses (std::uint32_t playerMask, std::int64_t serial)
 
bool dispatchTradeBatch (const std::vector< actions::Message > &batch)
 
bool beginTradeFromIBar (rules::PlayerNumber iBarPlayer) noexcept
 
bool beginOptionsFromIBar () noexcept
 
void resetRuleProjection ()
 
void processRuleMessage (const actions::Message &message)
 
rules::GameState & ruleState ()
 
const rules::GameState & ruleStateReadOnly ()
 
const pieces::PieceIdleState & pieceIdleStateReadOnly ()
 
std::optional< pieces::PieceMovePlan > takePendingPieceMovePlan ()
 
std::optional< pieces::PieceMoveSpecialRequest > takePendingPieceMoveSpecial ()
 
std::optional< pieces::PieceIdleTransitionPlan > takePendingPieceIdleTransitionPlan ()
 
std::optional< dice::RollRequest > takePendingDiceRoll ()
 
void update ()
 
bool processUIMessage (const uimsg::Message &message)
 

Function Documentation

◆ advanceTimeStep()

void monopoly::userinterface::advanceTimeStep ( )

Definition at line 52 of file TimeStep.cpp.

◆ auctionState()

auctionui::State & monopoly::userinterface::auctionState ( )
noexcept

Definition at line 171 of file UserInterface.cpp.

◆ auctionStateReadOnly()

const auctionui::State & monopoly::userinterface::auctionStateReadOnly ( )
noexcept

Definition at line 175 of file UserInterface.cpp.

◆ beginOptionsFromIBar()

bool monopoly::userinterface::beginOptionsFromIBar ( )
noexcept

Definition at line 525 of file UserInterface.cpp.

◆ beginTradeFromIBar()

bool monopoly::userinterface::beginTradeFromIBar ( rules::PlayerNumber  iBarPlayer)
noexcept

Definition at line 485 of file UserInterface.cpp.

◆ chatSenderPlayer()

rules::PlayerNumber monopoly::userinterface::chatSenderPlayer ( )
noexcept

Definition at line 427 of file UserInterface.cpp.

◆ dicePromptState()

dice::PromptState & monopoly::userinterface::dicePromptState ( )
noexcept

Definition at line 166 of file UserInterface.cpp.

◆ dispatchTradeBatch()

bool monopoly::userinterface::dispatchTradeBatch ( const std::vector< actions::Message > &  batch)

Definition at line 471 of file UserInterface.cpp.

◆ gameQueueLocked()

bool monopoly::userinterface::gameQueueLocked ( )

Definition at line 47 of file TimeStep.cpp.

◆ iBarRuleStateReadOnly()

const ibar::RuleProjection & monopoly::userinterface::iBarRuleStateReadOnly ( )
noexcept

Definition at line 167 of file UserInterface.cpp.

◆ lockGameQueue()

void monopoly::userinterface::lockGameQueue ( )

Definition at line 37 of file TimeStep.cpp.

◆ optionsCustomBoardState()

optionsui::CustomBoardState & monopoly::userinterface::optionsCustomBoardState ( )
noexcept

Definition at line 204 of file UserInterface.cpp.

◆ optionsCustomBoardStateReadOnly()

const optionsui::CustomBoardState & monopoly::userinterface::optionsCustomBoardStateReadOnly ( )
noexcept

Definition at line 208 of file UserInterface.cpp.

◆ optionsSaveState()

optionsui::SaveRuntimeState & monopoly::userinterface::optionsSaveState ( )
noexcept

Definition at line 196 of file UserInterface.cpp.

◆ optionsSaveStateReadOnly()

const optionsui::SaveRuntimeState & monopoly::userinterface::optionsSaveStateReadOnly ( )
noexcept

Definition at line 200 of file UserInterface.cpp.

◆ optionsState()

optionsui::State & monopoly::userinterface::optionsState ( )
noexcept

Definition at line 188 of file UserInterface.cpp.

◆ optionsStateReadOnly()

const optionsui::State & monopoly::userinterface::optionsStateReadOnly ( )
noexcept

Definition at line 192 of file UserInterface.cpp.

◆ pieceIdleStateReadOnly()

const pieces::PieceIdleState & monopoly::userinterface::pieceIdleStateReadOnly ( )

Definition at line 1262 of file UserInterface.cpp.

◆ processRuleMessage()

void monopoly::userinterface::processRuleMessage ( const actions::Message &  message)

Definition at line 571 of file UserInterface.cpp.

◆ processUIMessage()

bool monopoly::userinterface::processUIMessage ( const uimsg::Message &  message)

Definition at line 1309 of file UserInterface.cpp.

◆ resetRuleProjection()

void monopoly::userinterface::resetRuleProjection ( )

Definition at line 543 of file UserInterface.cpp.

◆ resetTimeStep()

void monopoly::userinterface::resetTimeStep ( )

Definition at line 29 of file TimeStep.cpp.

◆ ruleState()

rules::GameState & monopoly::userinterface::ruleState ( )

Definition at line 1251 of file UserInterface.cpp.

◆ ruleStateReadOnly()

const rules::GameState & monopoly::userinterface::ruleStateReadOnly ( )

Definition at line 1257 of file UserInterface.cpp.

◆ sendReadyResponses()

std::expected< void, std::string > monopoly::userinterface::sendReadyResponses ( std::uint32_t  playerMask,
std::int64_t  serial 
)

Definition at line 429 of file UserInterface.cpp.

◆ statsCalculatorState()

statsui::CalculatorUIState & monopoly::userinterface::statsCalculatorState ( )
noexcept

Definition at line 220 of file UserInterface.cpp.

◆ statsCalculatorStateReadOnly()

const statsui::CalculatorUIState & monopoly::userinterface::statsCalculatorStateReadOnly ( )
noexcept

Definition at line 224 of file UserInterface.cpp.

◆ statsFutureImmunityState()

statsui::FutureImmunityState & monopoly::userinterface::statsFutureImmunityState ( )
noexcept

Definition at line 228 of file UserInterface.cpp.

◆ statsFutureImmunityStateReadOnly()

const statsui::FutureImmunityState & monopoly::userinterface::statsFutureImmunityStateReadOnly ( )
noexcept

Definition at line 232 of file UserInterface.cpp.

◆ statsState()

statsui::State & monopoly::userinterface::statsState ( )
noexcept

Definition at line 212 of file UserInterface.cpp.

◆ statsStateReadOnly()

const statsui::State & monopoly::userinterface::statsStateReadOnly ( )
noexcept

Definition at line 216 of file UserInterface.cpp.

◆ takePendingDiceRoll()

std::optional< dice::RollRequest > monopoly::userinterface::takePendingDiceRoll ( )

Definition at line 1283 of file UserInterface.cpp.

◆ takePendingPieceIdleTransitionPlan()

std::optional< pieces::PieceIdleTransitionPlan > monopoly::userinterface::takePendingPieceIdleTransitionPlan ( )

Definition at line 1276 of file UserInterface.cpp.

◆ takePendingPieceMovePlan()

std::optional< pieces::PieceMovePlan > monopoly::userinterface::takePendingPieceMovePlan ( )

Definition at line 1267 of file UserInterface.cpp.

◆ takePendingPieceMoveSpecial()

std::optional< pieces::PieceMoveSpecialRequest > monopoly::userinterface::takePendingPieceMoveSpecial ( )

Definition at line 1272 of file UserInterface.cpp.

◆ tradeState()

tradeui::State & monopoly::userinterface::tradeState ( )
noexcept

Definition at line 179 of file UserInterface.cpp.

◆ tradeStateReadOnly()

const tradeui::State & monopoly::userinterface::tradeStateReadOnly ( )
noexcept

Definition at line 184 of file UserInterface.cpp.

◆ unlockGameQueue()

void monopoly::userinterface::unlockGameQueue ( )

Definition at line 42 of file TimeStep.cpp.

◆ update()

void monopoly::userinterface::update ( )

Definition at line 1288 of file UserInterface.cpp.