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

Namespaces

namespace  detail
 

Classes

struct  HistoryEntry
 
struct  HistoryPlayer
 
struct  PlayerInfo
 
class  PlayerSelectionHistory
 
class  PlayerSelectionPlayback
 
struct  PlayerSlot
 
struct  RenderState
 
struct  RuleHit
 
struct  State
 

Functions

bool initialize ()
 
void shutdown ()
 
void switchPhase (display::PlayerSetupPhase phase)
 
void update ()
 
void show ()
 
RenderState renderStateReadOnly ()
 
std::expected< void, std::string > configureHistory (std::filesystem::path path)
 
bool consumeLoadRequest () noexcept
 
bool consumeCustomBoardRequest () noexcept
 
std::expected< void, std::string > commitCustomBoard (std::filesystem::path assetRoot)
 
void visualPhaseStarted (ui::playersetup::Phase phase) noexcept
 
void setPlaybackState (bool interactable, std::span< const RuleHit > hits, ui::playersetup::Rect restore, ui::playersetup::Rect shortGame)
 
void recordGameStarted ()
 
void processMessage (const actions::Message &message)
 
void processLibraryMessage (const uimsg::Message &message)
 
void playerButtonClicked (rules::PlayerNumber player)
 
State & state ()
 
const State & stateReadOnly ()
 

Function Documentation

◆ commitCustomBoard()

std::expected< void, std::string > monopoly::playerselection::commitCustomBoard ( std::filesystem::path  assetRoot)

Definition at line 1207 of file PlayerSelection.cpp.

◆ configureHistory()

std::expected< void, std::string > monopoly::playerselection::configureHistory ( std::filesystem::path  path)

Definition at line 1185 of file PlayerSelection.cpp.

◆ consumeCustomBoardRequest()

bool monopoly::playerselection::consumeCustomBoardRequest ( )
noexcept

Definition at line 1200 of file PlayerSelection.cpp.

◆ consumeLoadRequest()

bool monopoly::playerselection::consumeLoadRequest ( )
noexcept

Definition at line 1193 of file PlayerSelection.cpp.

◆ initialize()

bool monopoly::playerselection::initialize ( )

Definition at line 908 of file PlayerSelection.cpp.

◆ playerButtonClicked()

void monopoly::playerselection::playerButtonClicked ( rules::PlayerNumber  player)

Definition at line 1717 of file PlayerSelection.cpp.

◆ processLibraryMessage()

void monopoly::playerselection::processLibraryMessage ( const uimsg::Message &  message)

Definition at line 1505 of file PlayerSelection.cpp.

◆ processMessage()

void monopoly::playerselection::processMessage ( const actions::Message &  message)

Definition at line 1272 of file PlayerSelection.cpp.

◆ recordGameStarted()

void monopoly::playerselection::recordGameStarted ( )

Definition at line 1258 of file PlayerSelection.cpp.

◆ renderStateReadOnly()

RenderState monopoly::playerselection::renderStateReadOnly ( )

Definition at line 1177 of file PlayerSelection.cpp.

◆ setPlaybackState()

void monopoly::playerselection::setPlaybackState ( bool  interactable,
std::span< const RuleHit >  hits,
ui::playersetup::Rect  restore,
ui::playersetup::Rect  shortGame 
)

Definition at line 1248 of file PlayerSelection.cpp.

◆ show()

void monopoly::playerselection::show ( )

Definition at line 1155 of file PlayerSelection.cpp.

◆ shutdown()

void monopoly::playerselection::shutdown ( )

Definition at line 949 of file PlayerSelection.cpp.

◆ state()

State & monopoly::playerselection::state ( )

Definition at line 1744 of file PlayerSelection.cpp.

◆ stateReadOnly()

const State & monopoly::playerselection::stateReadOnly ( )

Definition at line 1749 of file PlayerSelection.cpp.

◆ switchPhase()

void monopoly::playerselection::switchPhase ( display::PlayerSetupPhase  phase)

Definition at line 963 of file PlayerSelection.cpp.

◆ update()

void monopoly::playerselection::update ( )

Definition at line 1024 of file PlayerSelection.cpp.

◆ visualPhaseStarted()

void monopoly::playerselection::visualPhaseStarted ( ui::playersetup::Phase  phase)
noexcept

Definition at line 1240 of file PlayerSelection.cpp.