mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:19:57 +00:00
24 lines
455 B
C++
24 lines
455 B
C++
|
#ifndef CSM_WOLRD_RESOURCESMANAGER_H
|
||
|
#define CSM_WOLRD_RESOURCESMANAGER_H
|
||
|
|
||
|
#include <map>
|
||
|
|
||
|
#include "universalid.hpp"
|
||
|
#include "resources.hpp"
|
||
|
|
||
|
namespace CSMWorld
|
||
|
{
|
||
|
class ResourcesManager
|
||
|
{
|
||
|
std::map<UniversalId::Type, Resources> mResources;
|
||
|
|
||
|
public:
|
||
|
|
||
|
/// Ask OGRE for a list of available resources.
|
||
|
void listResources();
|
||
|
|
||
|
const Resources& get (UniversalId::Type type) const;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|