#include "OptionsUI.hpp"
#include "RuleTypes.hpp"
#include "UIMessages.hpp"
#include <array>
#include <cstddef>
#include <cstdint>
#include <expected>
#include <filesystem>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <vector>
Go to the source code of this file.
|
| std::filesystem::path | monopoly::optionsui::saveGameDirectory () |
| |
| std::filesystem::path | monopoly::optionsui::gameBlobPath (std::size_t slot) |
| |
| std::filesystem::path | monopoly::optionsui::gameMetadataPath (std::size_t slot) |
| |
| std::expected< void, std::string > | monopoly::optionsui::refreshSaveSlots (SaveRuntimeState &state, FileDialogMode mode) |
| |
| void | monopoly::optionsui::closeSaveDialog (SaveRuntimeState &state) noexcept |
| |
| SaveDialogInput | monopoly::optionsui::processSaveDialogInput (SaveRuntimeState &state, const uimsg::Message &message, fonts::Runtime *fontRuntime, std::shared_ptr< const data::ResourceSnapshot > resources) |
| |
| std::expected< std::vector< std::uint8_t >, std::string > | monopoly::optionsui::readSelectedGameBlob (const SaveRuntimeState &state) |
| |
| std::expected< void, std::string > | monopoly::optionsui::beginPendingSave (SaveRuntimeState &state, const rules::GameState &ruleState, int city, int system, std::string customBoardName, rules::PlayerNumber requester) |
| |
| void | monopoly::optionsui::clearPendingSave (SaveRuntimeState &state) noexcept |
| |
| std::expected< void, std::string > | monopoly::optionsui::persistPendingSave (SaveRuntimeState &state, std::span< const std::uint8_t > gameBlob) |
| |
| std::expected< void, std::string > | monopoly::optionsui::applySelectedMetadata (const SaveRuntimeState &state, rules::GameState &ruleState, int &city, int &system) |
| |
| Rect | monopoly::optionsui::saveSlotRect (std::size_t slot) noexcept |
| |
| Rect | monopoly::optionsui::dialogOkayRect (int width, int height) noexcept |
| |
| Rect | monopoly::optionsui::dialogCancelRect (int width, int height) noexcept |
| |