|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Namespaces | |
| namespace | archive |
| namespace | auction |
| namespace | board |
| namespace | buildings |
| namespace | cardruntime |
| namespace | cards |
| namespace | configuration |
| namespace | coreactions |
| namespace | economy |
| namespace | gamestart |
| namespace | initialdeal |
| namespace | jail |
| namespace | lifecycle |
| namespace | options |
| namespace | phases |
| namespace | players |
| namespace | prediction |
| namespace | random |
| namespace | rejections |
| namespace | resync |
| namespace | ruleactions |
| namespace | save |
| namespace | startingorder |
| namespace | sync |
| namespace | trade |
| namespace | turnactions |
Classes | |
| struct | AuctionState |
| struct | CardDeck |
| struct | CountHitRecord |
| struct | GameOptions |
| struct | GameState |
| struct | PendingPhase |
| struct | PlayerState |
| struct | SquareState |
| struct | VoiceChatOptions |
Typedefs | |
| using | PlayerNumber = std::uint8_t |
Functions | |
| static void | actionNewGame () |
| bool | initialize () |
| void | serviceIdleTick () |
| void | shutdown () |
| void | process (const actions::Message &message) |
| const GameState & | state () |
Variables | |
| constexpr std::uint8_t | ChanceFirst = 1 |
| constexpr std::uint8_t | ChanceCount = 16 |
| constexpr std::uint8_t | CommunityFirst = 65 |
| constexpr std::uint8_t | CommunityCount = 16 |
| constexpr std::size_t | MaxCardsInDeck = 16 |
| constexpr PlayerNumber | MaxPlayers = 6 |
| constexpr PlayerNumber | BankPlayer = MaxPlayers |
| constexpr PlayerNumber | NobodyPlayer = MaxPlayers + 1 |
| constexpr PlayerNumber | AllPlayers = NobodyPlayer |
| constexpr PlayerNumber | EscrowPlayer |
| constexpr PlayerNumber | SpectatorPlayer |
| constexpr std::size_t | SquareCount = 42 |
| constexpr std::size_t | MaxPlayerNameLength = 39 |
| constexpr std::size_t | MaxTokens = 11 |
| constexpr std::size_t | MaxPlayerColours = 6 |
| constexpr std::size_t | MaxCountHitSets |
| constexpr std::size_t | MaxPendingPhases |
| using monopoly::rules::PlayerNumber = typedef std::uint8_t |
Definition at line 12 of file RuleTypes.hpp.
|
strong |
Definition at line 9 of file CardTypes.hpp.
|
strong |
| Enumerator | |
|---|---|
| Nothing | |
| RentImmunity | |
| FutureRent | |
Definition at line 45 of file RuleTypes.hpp.
|
strong |
| Enumerator | |
|---|---|
| Chance | |
| Community | |
| Count | |
Definition at line 56 of file CardTypes.hpp.
|
strong |
Definition at line 77 of file RuleTypes.hpp.
|
strong |
| Enumerator | |
|---|---|
| Cash | |
| Square | |
| JailCard | |
| Immunity | |
| FutureRent | |
Definition at line 35 of file RuleTypes.hpp.
Definition at line 38 of file RulesEngine.cpp.
| bool monopoly::rules::initialize | ( | ) |
Definition at line 124 of file RulesEngine.cpp.
| void monopoly::rules::process | ( | const actions::Message & | message | ) |
Definition at line 216 of file RulesEngine.cpp.
| void monopoly::rules::serviceIdleTick | ( | ) |
Definition at line 173 of file RulesEngine.cpp.
| void monopoly::rules::shutdown | ( | ) |
Definition at line 211 of file RulesEngine.cpp.
Definition at line 662 of file RulesEngine.cpp.
|
inlineconstexpr |
Definition at line 17 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 15 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 49 of file CardTypes.hpp.
|
inlineconstexpr |
Definition at line 48 of file CardTypes.hpp.
|
inlineconstexpr |
Definition at line 52 of file CardTypes.hpp.
|
inlineconstexpr |
Definition at line 51 of file CardTypes.hpp.
|
inlineconstexpr |
Definition at line 19 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 54 of file CardTypes.hpp.
|
inlineconstexpr |
Definition at line 53 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 113 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 33 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 26 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 14 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 30 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 16 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 22 of file RuleTypes.hpp.
|
inlineconstexpr |
Definition at line 24 of file RuleTypes.hpp.