mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-24 21:42:53 -05:00
Added init functions and hook fallback
This commit is contained in:
@@ -10,17 +10,13 @@ namespace smoke_api::config {
|
||||
LOCKED,
|
||||
};
|
||||
|
||||
NLOHMANN_JSON_SERIALIZE_ENUM(
|
||||
AppStatus,
|
||||
// @formatter:off
|
||||
{
|
||||
{ AppStatus::UNDEFINED, nullptr },
|
||||
{ AppStatus::ORIGINAL, "original" },
|
||||
{ AppStatus::UNLOCKED, "unlocked" },
|
||||
{ AppStatus::LOCKED, "locked" },
|
||||
}
|
||||
// @formatter:on
|
||||
)
|
||||
// @formatter:off
|
||||
NLOHMANN_JSON_SERIALIZE_ENUM(AppStatus, {
|
||||
{ AppStatus::UNDEFINED, nullptr },
|
||||
{ AppStatus::ORIGINAL, "original" },
|
||||
{ AppStatus::UNLOCKED, "unlocked" },
|
||||
{ AppStatus::LOCKED, "locked" },
|
||||
}) // @formatter:on
|
||||
|
||||
struct Config {
|
||||
uint32_t $version = 4;
|
||||
|
||||
Reference in New Issue
Block a user