|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|
Contains all the objects defined in the objects.json file. More...
#include <ObjectReader.hpp>

Public Member Functions | |
| bool | containsId (int id) |
| const std::optional< reader::ObjectType > | getObjectType (int id) |
| std::vector< std::vector< std::string > > | getTileMap (int id) |
| const GeneralObjectStruct & | getGeneralObject (int id) |
| const ResourceObjectStruct & | getResourceObject (int id) |
| const LootObjectStruct & | getLootObject (int id) |
| const std::vector< int > | getObjectIds () const |
| Returns all the object ids that exist. More... | |
Public Attributes | |
| std::map< int, GeneralObjectStruct > | generalObjects |
| std::map< int, ResourceObjectStruct > | resourceObjects |
| std::map< int, LootObjectStruct > | lootObjects |
Contains all the objects defined in the objects.json file.
|
inline |
|
inline |

|
inline |

|
inline |
Returns all the object ids that exist.
|
inline |

|
inline |

|
inline |


| std::map<int, GeneralObjectStruct> GameObjects::generalObjects |
| std::map<int, LootObjectStruct> GameObjects::lootObjects |
| std::map<int, ResourceObjectStruct> GameObjects::resourceObjects |