SQL setup

This commit is contained in:
cdemeyer-teachx
2025-11-12 12:34:20 +09:00
parent a1c9a2e54d
commit ff1b4a93b3
18 changed files with 231 additions and 20 deletions

View File

@@ -17,4 +17,13 @@ WorkbenchType stringToWorkbenchType(const std::string& str);
GenstatType stringToGenstatType(const std::string& str);
ActionType stringToActionType(const std::string& str);
std::string statTypeToString(StatType type);
std::string itemCategoryToString(ItemCategory category);
std::string itemTypeToString(ItemType type);
std::string toolToString(Tool tool);
std::string skillTypeToString(SkillType skill);
std::string workbenchTypeToString(WorkbenchType workbench);
std::string genstatTypeToString(GenstatType genstat);
std::string actionTypeToString(ActionType action);
} // namespace cursebreaker

View File

@@ -6,14 +6,17 @@
#include <fstream>
#include <unordered_map>
#include <SQLiteCpp/SQLiteCpp.h>
#include <nlohmann/json.hpp>
#include "assets/asset_base.hpp"
#include "assets/scene.hpp"
#include "configs/items.hpp"
#include "configs/loot.hpp"
#include "configs/harvestables.hpp"
#include "configs/npcs.hpp"
#include "configs/shops.hpp"
#include "configs/achievements.hpp"
#include "configs/items.h"
#include "configs/loot.h"
#include "configs/harvestables.h"
#include "configs/npcs.h"
#include "configs/shops.h"
#include "configs/achievements.h"
struct AssetPath
{