|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|
Holds definitions to all the items, objects and skills in the game. This class is used to fetch the definitions and create instances of the items, objects and skills. More...
#include <AssetManager.hpp>

Static Public Member Functions | |
| static void | loadAssets () |
| Loads all the assets into memory. More... | |
| static const std::vector< ObjectLocation > & | getObjectLocations () |
| Get the Object Locations object. More... | |
| static const std::map< int, GameSkill > & | getSkills () |
| Get the Skills object. More... | |
| static const GameObjects & | getObjects () |
| Get the GameObjects object. More... | |
| static const GameItems & | getItems () |
| Get the GameItems object. More... | |
| static const GameCharacters & | getGameCharacters () |
| Get the GameCharacters object. More... | |
| static std::shared_ptr< Item > | createItemInstance (int id) |
| Creates an instance of an item. More... | |
Static Private Attributes | |
| static GameItems | itemsM = {} |
| static std::map< int, GameSkill > | skillsM = {} |
| static GameObjects | objectsM = {} |
| Tells what possible objects exists and what attributes they have (For example tree) More... | |
| static std::vector< ObjectLocation > | objectLocationsM = {} |
| Tells where objects instances are located on the map (For example, tree at 1,1, tree at 2,2, tree at 4,5 etc) More... | |
| static GameCharacters | gameCharactersM = {} |
Holds definitions to all the items, objects and skills in the game. This class is used to fetch the definitions and create instances of the items, objects and skills.
|
static |
Creates an instance of an item.
| id | Item id |


|
static |
|
static |
|
static |
Get the Object Locations object.

|
static |
|
static |
Get the Skills object.

|
static |
Loads all the assets into memory.


|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
Tells where objects instances are located on the map (For example, tree at 1,1, tree at 2,2, tree at 4,5 etc)
|
inlinestaticprivate |
Tells what possible objects exists and what attributes they have (For example tree)
|
inlinestaticprivate |