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

#include <ModernTokenVariants.hpp>

Public Member Functions

 ModernTokenVariantCache (std::filesystem::path modernAssetsRoot)
 
std::shared_ptr< const MeshRenderData > resolve (DataId meshId, std::optional< DataId > rootSequenceDataId, std::uint16_t priority)
 
bool attempted () const noexcept
 
bool attempted (DataId rootSequenceDataId) const noexcept
 
const std::optional< MeshRuntimeError > & loadError () const noexcept
 
const std::optional< MeshRuntimeError > & loadError (DataId rootSequenceDataId) const noexcept
 
bool rejectPack (const MeshRenderData *failedState)
 

Friends

class ModernTokenVariantPack
 

Detailed Description

Definition at line 61 of file ModernTokenVariants.hpp.

Constructor & Destructor Documentation

◆ ModernTokenVariantCache()

monopoly::data::ModernTokenVariantCache::ModernTokenVariantCache ( std::filesystem::path  modernAssetsRoot)
explicit

Definition at line 912 of file ModernTokenVariants.cpp.

Member Function Documentation

◆ attempted() [1/2]

bool monopoly::data::ModernTokenVariantCache::attempted ( ) const
noexcept

Definition at line 1016 of file ModernTokenVariants.cpp.

◆ attempted() [2/2]

bool monopoly::data::ModernTokenVariantCache::attempted ( DataId  rootSequenceDataId) const
noexcept

Definition at line 1018 of file ModernTokenVariants.cpp.

◆ loadError() [1/2]

const std::optional< MeshRuntimeError > & monopoly::data::ModernTokenVariantCache::loadError ( ) const
noexcept

Definition at line 1020 of file ModernTokenVariants.cpp.

◆ loadError() [2/2]

const std::optional< MeshRuntimeError > & monopoly::data::ModernTokenVariantCache::loadError ( DataId  rootSequenceDataId) const
noexcept

Definition at line 1025 of file ModernTokenVariants.cpp.

◆ rejectPack()

bool monopoly::data::ModernTokenVariantCache::rejectPack ( const MeshRenderData *  failedState)

Definition at line 1028 of file ModernTokenVariants.cpp.

◆ resolve()

std::shared_ptr< const MeshRenderData > monopoly::data::ModernTokenVariantCache::resolve ( DataId  meshId,
std::optional< DataId >  rootSequenceDataId,
std::uint16_t  priority 
)

Definition at line 1001 of file ModernTokenVariants.cpp.

Friends And Related Symbol Documentation

◆ ModernTokenVariantPack

Definition at line 77 of file ModernTokenVariants.hpp.


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