Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
DataManager::PreloadStats Struct Reference

#include <DataManager.h>

Public Member Functions

 PreloadStats ()
 
bool IsSuccess () const
 
float GetSuccessRate () const
 

Public Attributes

int totalRequested
 
int successfullyLoaded
 
int failedWithFallback
 
int completelyFailed
 
std::vector< std::string > failedPaths
 
std::map< std::string, std::string > fallbackPaths
 

Detailed Description

Definition at line 134 of file DataManager.h.

Constructor & Destructor Documentation

◆ PreloadStats()

DataManager::PreloadStats::PreloadStats ( )
inline

Definition at line 143 of file DataManager.h.

Member Function Documentation

◆ GetSuccessRate()

float DataManager::PreloadStats::GetSuccessRate ( ) const
inline

Definition at line 148 of file DataManager.h.

References failedWithFallback, successfullyLoaded, and totalRequested.

◆ IsSuccess()

bool DataManager::PreloadStats::IsSuccess ( ) const
inline

Definition at line 147 of file DataManager.h.

References completelyFailed.

Member Data Documentation

◆ completelyFailed

int DataManager::PreloadStats::completelyFailed

◆ failedPaths

std::vector<std::string> DataManager::PreloadStats::failedPaths

◆ failedWithFallback

int DataManager::PreloadStats::failedWithFallback

◆ fallbackPaths

std::map<std::string, std::string> DataManager::PreloadStats::fallbackPaths

◆ successfullyLoaded

int DataManager::PreloadStats::successfullyLoaded

◆ totalRequested

int DataManager::PreloadStats::totalRequested

The documentation for this struct was generated from the following file: