Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
StatsFutureImmunityTextPlayback.hpp
Go to the documentation of this file.
1#pragma once
2
5
6#include <expected>
7#include <optional>
8#include <string>
9
10namespace monopoly::fonts { class Runtime; }
11
12namespace monopoly::statsui
13{
14 inline constexpr std::uint16_t FutureImmunityTextPriority = 612;
15
17 {
18 public:
19 [[nodiscard]] std::expected<void, std::string> sync(
23 int city,
26
27 void reset() noexcept;
28
29 private:
30 std::optional<data::DataId> surface_;
31 std::optional<std::string> contentKey_;
32 bool visible_{};
33 };
34}
unsigned state
unsigned index
std::expected< void, std::string > sync(const FutureImmunityState &state, const rules::GameState &gameState, display::Screen2D desiredView, int city, fonts::Runtime *fontRuntime, engine::SequencePlayback &playback)
constexpr std::uint16_t FutureImmunityTextPriority