JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
hmi::AnimationDescriptionResult Struct Reference

Résultat d'une lecture de description : soit une AnimationDescription, soit une erreur décrite. More...

#include <AnimationCatalog.h>

Public Member Functions

bool ok () const noexcept

Public Attributes

std::optional< AnimationDescriptiondescription
std::string error
AnimationCatalogError errorCode = AnimationCatalogError::None

Detailed Description

Résultat d'une lecture de description : soit une AnimationDescription, soit une erreur décrite.

Même patron que hmi::SkinCatalogResult (EX-NFR-040).

Member Function Documentation

◆ ok()

bool hmi::AnimationDescriptionResult::ok ( ) const
inlinenodiscardnoexcept
Returns
true si la lecture a réussi.

Member Data Documentation

◆ description

std::optional<AnimationDescription> hmi::AnimationDescriptionResult::description

◆ error

std::string hmi::AnimationDescriptionResult::error

◆ errorCode

AnimationCatalogError hmi::AnimationDescriptionResult::errorCode = AnimationCatalogError::None

The documentation for this struct was generated from the following file:
  • /home/runner/work/JustAnotherDnDGame/JustAnotherDnDGame/Source/HMI/Graphics/AnimationCatalog.h