Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
RuleConfiguration.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Actions.hpp"
4#include "RuleTypes.hpp"
5
7{
18
20
21 [[nodiscard]] AcceptanceUpdate applyAcceptedConfiguration(
23 const actions::Message& message);
24
26 const GameOptions& options,
27 PlayerNumber fromPlayer,
28 bool interim,
29 actions::Message& result);
30
32 const GameState& state);
33}
unsigned index
actions::Message proposedConfigurationMessage(const GameState &state)
void clearAcceptConfiguration(GameState &state) noexcept
bool acceptedConfigurationMessage(const GameOptions &options, PlayerNumber fromPlayer, bool interim, actions::Message &result)
AcceptanceUpdate applyAcceptedConfiguration(GameState &state, const actions::Message &message)
std::uint8_t PlayerNumber
Definition RuleTypes.hpp:12
const GameState & state()