Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
ItemReader.cpp File Reference
#include "rapidjson/document.h"
#include "rapidjson/filereadstream.h"
#include <filesystem>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <vector>
#include "../../Config.hpp"
#include "ItemReader.hpp"
#include "RehtiUtils.hpp"
Include dependency graph for ItemReader.cpp:

Functions

GameItems fetchItems ()
 Reads items defined in the items.json file and returns them as a GameItems struct. GameItems can be referred to create item instances to the game (based on the id). More...
 

Function Documentation

◆ fetchItems()

GameItems fetchItems ( )

Reads items defined in the items.json file and returns them as a GameItems struct. GameItems can be referred to create item instances to the game (based on the id).

Returns
GameItems
Here is the call graph for this function:
Here is the caller graph for this function: