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

#include <ModernTokenVariants.hpp>

Public Member Functions

std::shared_ptr< const MeshRenderData > resolve (DataId meshId) const noexcept
 

Static Public Member Functions

static std::expected< std::shared_ptr< const ModernTokenVariantPack >, MeshRuntimeError > load (const std::filesystem::path &modernAssetsRoot, ModernTokenVariantKind kind=ModernTokenVariantKind::ShipMovement)
 

Friends

class ModernTokenVariantCache
 

Detailed Description

Definition at line 45 of file ModernTokenVariants.hpp.

Member Function Documentation

◆ load()

std::expected< std::shared_ptr< const ModernTokenVariantPack >, MeshRuntimeError > monopoly::data::ModernTokenVariantPack::load ( const std::filesystem::path &  modernAssetsRoot,
ModernTokenVariantKind  kind = ModernTokenVariantKind::ShipMovement 
)
static

Definition at line 891 of file ModernTokenVariants.cpp.

◆ resolve()

std::shared_ptr< const MeshRenderData > monopoly::data::ModernTokenVariantPack::resolve ( DataId  meshId) const
noexcept

Definition at line 905 of file ModernTokenVariants.cpp.

Friends And Related Symbol Documentation

◆ ModernTokenVariantCache

Definition at line 53 of file ModernTokenVariants.hpp.


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