Manages map files.
More...
#include <WorldmapFileManager.h>
|
virtual Ogre::Resource * | createImpl (const Ogre::String &name, Ogre::ResourceHandle handle, const Ogre::String &group, bool is_manual, Ogre::ManualResourceLoader *loader, const Ogre::NameValuePairList *create_params) override final |
| Loads the manager. More...
|
|
◆ WorldmapFileManager()
VGears::WorldmapFileManager::WorldmapFileManager |
( |
| ) |
|
◆ ~WorldmapFileManager()
VGears::WorldmapFileManager::~WorldmapFileManager |
( |
| ) |
|
|
virtual |
◆ createImpl()
Ogre::Resource * VGears::WorldmapFileManager::createImpl |
( |
const Ogre::String & |
name, |
|
|
Ogre::ResourceHandle |
handle, |
|
|
const Ogre::String & |
group, |
|
|
bool |
is_manual, |
|
|
Ogre::ManualResourceLoader * |
loader, |
|
|
const Ogre::NameValuePairList * |
create_params |
|
) |
| |
|
finaloverrideprivatevirtual |
Loads the manager.
- Parameters
-
[in] | name | The unique name of the manager. |
[in] | handle | |
- Todo:
- Understand and document.
- Parameters
-
[in] | group | The name of the resource group to which this resource belong. |
[in] | is_manual | True if the resource is manually loaded, false otherwise. |
[in] | loader | Pointer to a ManualResourceLoader implementation which will be called when the Resource wishes to load (should be supplied if is_manual is set to true). It can be null, but the Resource will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualResourceLoader instance is strongly recommended. |
[in] | create_params | Unused. |
◆ GetSingleton()
Retrieves a singleton to the manager.
◆ GetSingletonPtr()
Retrieves a pointer to the manager singleton.
The documentation for this class was generated from the following files: