20 lines
615 B
C++
20 lines
615 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <unordered_map>
|
|
|
|
#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);
|
|
|
|
} // namespace cursebreaker
|