#include <ContentManager.h>
|
Ogre::DataStreamPtr | resourceLoading (const Ogre::String &name, const Ogre::String &group, Ogre::Resource *resource) override |
|
void | resourceStreamOpened (const Ogre::String &name, const Ogre::String &group, Ogre::Resource *resource, Ogre::DataStreamPtr &dataStream) override |
|
bool | resourceCollision (Ogre::Resource *resource, Ogre::ResourceManager *resourceManager) override |
|
bool | handleEvent (Ogre::ScriptCompiler *compiler, Ogre::ScriptCompilerEvent *evt, void *retval) override |
|
Definition at line 35 of file ContentManager.h.
◆ AddResourcePack()
void ContentManager::AddResourcePack |
( |
ResourcePack const & |
resource_pack, |
|
|
std::string const & |
override_rgn = "" |
|
) |
| |
Loads resources if not already loaded.
- Parameters
-
override_rg | If not set, the ResourcePack's RG is used -> resources won't unload until shutdown |
Definition at line 98 of file ContentManager.cpp.
◆ DeleteDiskFile()
bool ContentManager::DeleteDiskFile |
( |
std::string const & |
filename, |
|
|
std::string const & |
rg_name |
|
) |
| |
◆ handleEvent()
bool ContentManager::handleEvent |
( |
Ogre::ScriptCompiler * |
compiler, |
|
|
Ogre::ScriptCompilerEvent * |
evt, |
|
|
void * |
retval |
|
) |
| |
|
overrideprivate |
◆ InitContentManager()
void ContentManager::InitContentManager |
( |
| ) |
|
◆ InitManagedMaterials()
void ContentManager::InitManagedMaterials |
( |
std::string const & |
rg_name | ) |
|
◆ InitModCache()
◆ ListAllUserContent()
std::string ContentManager::ListAllUserContent |
( |
| ) |
|
Used by ModCache for quick detection of added/removed content.
Definition at line 427 of file ContentManager.cpp.
◆ LoadAndParseJson()
bool ContentManager::LoadAndParseJson |
( |
std::string const & |
filename, |
|
|
std::string const & |
rg_name, |
|
|
rapidjson::Document & |
j_doc |
|
) |
| |
◆ LoadGameplayResources()
void ContentManager::LoadGameplayResources |
( |
| ) |
|
◆ resourceCollision()
bool ContentManager::resourceCollision |
( |
Ogre::Resource * |
resource, |
|
|
Ogre::ResourceManager * |
resourceManager |
|
) |
| |
|
overrideprivate |
◆ resourceLoading()
Ogre::DataStreamPtr ContentManager::resourceLoading |
( |
const Ogre::String & |
name, |
|
|
const Ogre::String & |
group, |
|
|
Ogre::Resource * |
resource |
|
) |
| |
|
overrideprivate |
◆ resourceStreamOpened()
void ContentManager::resourceStreamOpened |
( |
const Ogre::String & |
name, |
|
|
const Ogre::String & |
group, |
|
|
Ogre::Resource * |
resource, |
|
|
Ogre::DataStreamPtr & |
dataStream |
|
) |
| |
|
overrideprivate |
◆ SerializeAndWriteJson()
bool ContentManager::SerializeAndWriteJson |
( |
std::string const & |
filename, |
|
|
std::string const & |
rg_name, |
|
|
rapidjson::Document & |
j_doc |
|
) |
| |
◆ m_base_resource_loaded
bool RoR::ContentManager::m_base_resource_loaded |
|
private |
The documentation for this class was generated from the following files: