Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
AIMessageIngress.hpp
Go to the documentation of this file.
1#pragma once
2
4#include "AITradeIngress.hpp"
5
6#include <expected>
7#include <filesystem>
8
9namespace monopoly::ai
10{
11 [[nodiscard]] std::expected<void, profile::Error>
13 const std::filesystem::path& directory);
14
16
17 void processMessage(
18 const rules::GameState& state,
19 const actions::Message& message) noexcept;
20
21 [[nodiscard]] const trade::TradeIngressState&
23
24 [[nodiscard]] const profile::RuntimeState&
26}
unsigned state
unsigned index
std::filesystem::path directory
const profile::RuntimeState & profileRuntimeStateReadOnly() noexcept
std::expected< void, profile::Error > initializeMessageIngressProfiles(const std::filesystem::path &directory)
const trade::TradeIngressState & tradeIngressStateReadOnly() noexcept
void processMessage(const rules::GameState &state, const actions::Message &message) noexcept
void resetMessageIngress() noexcept