|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|
Contains all the item data in the game. This is used to load item assets into memory and create item instances to the game. More...
#include <ItemReader.hpp>

Public Member Functions | |
| const bool | containsId (const int id) const |
| const std::vector< int > | getAllIds () const |
| std::optional< ItemType > | getItemType (int id) |
| const GeneralItemStruct & | getGeneralItem (int id) |
| const EquippableItemStruct & | getEquippableItem (int id) |
| const FoodItemStruct & | getFoodItem (int id) |
Public Attributes | |
| std::map< int, GeneralItemStruct > | generalItems |
| std::map< int, EquippableItemStruct > | equippableItems |
| std::map< int, FoodItemStruct > | foodItems |
Contains all the item data in the game. This is used to load item assets into memory and create item instances to the game.
|
inline |

|
inline |

|
inline |

|
inline |

|
inline |

|
inline |

| std::map<int, EquippableItemStruct> GameItems::equippableItems |
| std::map<int, FoodItemStruct> GameItems::foodItems |
| std::map<int, GeneralItemStruct> GameItems::generalItems |