Fling::Guid_Handle GetGuidHandle() const
Get GUID handle (just an int) for this resources guid.
Definition: Resource.h:30
std::string GetFilepathReleativeToAssets() const
Returns the full file path that is relative to the assets path based on the GUID of this resource...
Definition: Resource.cpp:6
Resource(Fling::Guid t_ID)
Definition: Resource.h:16
Base class that represents a loaded resource in the engine.
Definition: Resource.h:11
entt::hashed_string::hash_type Guid_Handle
Definition: FlingTypes.h:27
std::string m_HumanReadableName
Definition: Resource.h:48
Fling::Guid m_Guid
Definition: Resource.h:46
entt::hashed_string Guid
Definition: FlingTypes.h:26
The resource manager handles loading of files off disk.
Definition: ResourceManager.h:23
virtual ~Resource()=default
const std::string & GetGuidString() const
Get the human-readable string representation of this GUID.
Definition: Resource.h:37