Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::data::ResourceRuntime Class Referencefinal

#include <ResourceRuntime.hpp>

Public Member Functions

std::expected< void, DataError > initialize (ResourcePaths paths, ResourceContext context={}, ArchiveOpenOptions options={}, std::span< const DataSourceOverride > overrides={})
 
std::shared_ptr< const ResourceSnapshot > snapshot () const noexcept
 
void shutdown () noexcept
 

Detailed Description

Definition at line 57 of file ResourceRuntime.hpp.

Member Function Documentation

◆ initialize()

std::expected< void, DataError > monopoly::data::ResourceRuntime::initialize ( ResourcePaths  paths,
ResourceContext  context = {},
ArchiveOpenOptions  options = {},
std::span< const DataSourceOverride >  overrides = {} 
)

Definition at line 101 of file ResourceRuntime.cpp.

◆ shutdown()

void monopoly::data::ResourceRuntime::shutdown ( )
noexcept

Definition at line 197 of file ResourceRuntime.cpp.

◆ snapshot()

std::shared_ptr< const ResourceSnapshot > monopoly::data::ResourceRuntime::snapshot ( ) const
noexcept

Definition at line 190 of file ResourceRuntime.cpp.


The documentation for this class was generated from the following files: