Added function definition to load item database.

Added function definition to load item database.
This commit is contained in:
Nemirtingas 2019-06-25 15:03:23 +02:00
parent 2039b04887
commit 38f05f2fc7

23
dll/item_db_loader.h Normal file
View File

@ -0,0 +1,23 @@
/* Copyright (C) 2019 Nemirtingas (Maxime P)
This file is part of the Goldberg Emulator
The Goldberg Emulator is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
The Goldberg Emulator is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the Goldberg Emulator;*/
#ifndef __ITEM_DB_LOADER_INCLUDED__
#define __ITEM_DB_LOADER_INCLUDED__
#include "base.h" // For SteamItemDef_t
std::map<SteamItemDef_t, std::map<std::string, std::string>> read_items_db(std::string const& items_db);
#endif//__ITEM_DB_LOADER_INCLUDED__