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

#include <DataManager.h>

+ Collaboration diagram for DataManager::LevelPreloadResult:

Public Member Functions

 LevelPreloadResult ()
 
int GetTotalLoaded () const
 
int GetTotalFailed () const
 
bool IsComplete () const
 

Public Attributes

bool success
 
PreloadStats sprites
 
PreloadStats textures
 
PreloadStats audio
 
PreloadStats tilesets
 

Detailed Description

Examples
/home/runner/work/Olympe-Engine/Olympe-Engine/Source/World.h.

Definition at line 165 of file DataManager.h.

Constructor & Destructor Documentation

◆ LevelPreloadResult()

DataManager::LevelPreloadResult::LevelPreloadResult ( )
inline

Definition at line 173 of file DataManager.h.

Member Function Documentation

◆ GetTotalFailed()

int DataManager::LevelPreloadResult::GetTotalFailed ( ) const
inline

Definition at line 183 of file DataManager.h.

References audio, DataManager::PreloadStats::completelyFailed, sprites, textures, and tilesets.

Referenced by IsComplete().

+ Here is the caller graph for this function:

◆ GetTotalLoaded()

int DataManager::LevelPreloadResult::GetTotalLoaded ( ) const
inline

◆ IsComplete()

bool DataManager::LevelPreloadResult::IsComplete ( ) const
inline

Definition at line 189 of file DataManager.h.

References GetTotalFailed(), and success.

+ Here is the call graph for this function:

Member Data Documentation

◆ audio

PreloadStats DataManager::LevelPreloadResult::audio

Definition at line 170 of file DataManager.h.

Referenced by GetTotalFailed(), and GetTotalLoaded().

◆ sprites

PreloadStats DataManager::LevelPreloadResult::sprites

Definition at line 168 of file DataManager.h.

Referenced by GetTotalFailed(), and GetTotalLoaded().

◆ success

bool DataManager::LevelPreloadResult::success

Definition at line 167 of file DataManager.h.

Referenced by IsComplete().

◆ textures

PreloadStats DataManager::LevelPreloadResult::textures

Definition at line 169 of file DataManager.h.

Referenced by GetTotalFailed(), and GetTotalLoaded().

◆ tilesets

PreloadStats DataManager::LevelPreloadResult::tilesets

Definition at line 171 of file DataManager.h.

Referenced by GetTotalFailed(), and GetTotalLoaded().


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