server-admin-panel/src/shadowrun/ShadowrunDb.hpp

20 lines
512 B
C++

#ifndef __SHADOWRUNDB_H__
#define __SHADOWRUNDB_H__
#include <cstdint>
#include <string>
#include <vector>
#include <set>
#include <map>
namespace shadowrun{
bool initDb();
int64_t getKeyOfCharacter(const std::string& name);
bool storeCharacterData(int64_t characterKey, std::vector<std::pair<const std::string, const std::string>>& idValues);
std::set<std::string> getCharacters();
std::map<std::string, std::string> getCharacterData(int64_t characterKey);
}
#endif // __SHADOWRUNDB_H__