SkyrimOutfitSystemSE/include/Utility.h
2022-10-24 22:17:28 -07:00

30 lines
529 B
C++

#pragma once
#include <string>
std::string GetRuntimeName();
const std::string& GetRuntimeDirectory();
class Settings {
public:
Settings();
~Settings();
INIReader reader;
static INIReader* Instance();
};
class LogExit {
public:
std::string_view m_string;
LogExit(std::string_view name) : m_string(name) {
LOG(trace, "Enter {}", m_string);
};
~LogExit() {
LOG(trace, "Exit {}", m_string);
};
};
static bool isFormIdPermitted(RE::FormID id) {
return id < 0xFF000000;
}