mirror of
https://github.com/edubart/otclient.git
synced 2025-12-22 00:17:10 +01:00
basic resource manager implementation
load/save configurations files in user home
This commit is contained in:
@@ -43,6 +43,7 @@ inline std::string castToString(const T& x) {
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
/// Convert std:;string to int/float like types
|
||||
template<typename T>
|
||||
inline T castFromString(const std::string& s) {
|
||||
std::istringstream ss(s);
|
||||
|
||||
Reference in New Issue
Block a user