|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
#include <PlayerSelectionHistory.hpp>
Public Member Functions | |
| std::expected< void, std::string > | open (std::filesystem::path path) |
| std::expected< void, std::string > | gameStarted (std::span< const HistoryPlayer > players) |
| std::expected< void, std::string > | gameOver (std::wstring_view name, int worth, int aiLevel) |
| std::vector< HistoryEntry > | highScores () const |
| std::vector< std::wstring > | names () const |
| const std::array< HistoryEntry, 100 > & | entries () const noexcept |
| bool | configured () const noexcept |
Definition at line 24 of file PlayerSelectionHistory.hpp.
|
inlinenoexcept |
Definition at line 33 of file PlayerSelectionHistory.hpp.
|
inlinenoexcept |
Definition at line 32 of file PlayerSelectionHistory.hpp.
| std::expected< void, std::string > monopoly::playerselection::PlayerSelectionHistory::gameOver | ( | std::wstring_view | name, |
| int | worth, | ||
| int | aiLevel | ||
| ) |
Definition at line 142 of file PlayerSelectionHistory.cpp.
| std::expected< void, std::string > monopoly::playerselection::PlayerSelectionHistory::gameStarted | ( | std::span< const HistoryPlayer > | players | ) |
Definition at line 125 of file PlayerSelectionHistory.cpp.
| std::vector< HistoryEntry > monopoly::playerselection::PlayerSelectionHistory::highScores | ( | ) | const |
Definition at line 159 of file PlayerSelectionHistory.cpp.
| std::vector< std::wstring > monopoly::playerselection::PlayerSelectionHistory::names | ( | ) | const |
Definition at line 168 of file PlayerSelectionHistory.cpp.
| std::expected< void, std::string > monopoly::playerselection::PlayerSelectionHistory::open | ( | std::filesystem::path | path | ) |
Definition at line 47 of file PlayerSelectionHistory.cpp.