#pragma once #include #include #include "configs/constants.h" namespace cursebreaker { // Helper functions for enum conversions StatType stringToStatType(const std::string& str); ItemCategory stringToItemCategory(const std::string& str); ItemType stringToItemType(const std::string& str); Tool stringToTool(const std::string& str); SkillType stringToSkillType(const std::string& str); 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