From 1e40a5ad1d29e8e308ecbe7b83689a420fc42bec Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 16 Dec 2024 16:13:21 -0300 Subject: [PATCH] feat: add missing constants for client OS --- src/lua/functions/core/game/lua_enums.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lua/functions/core/game/lua_enums.cpp b/src/lua/functions/core/game/lua_enums.cpp index 2136a3e5927..8bff425808e 100644 --- a/src/lua/functions/core/game/lua_enums.cpp +++ b/src/lua/functions/core/game/lua_enums.cpp @@ -772,14 +772,22 @@ void LuaEnums::initCreatureTypeEnums(lua_State* L) { } void LuaEnums::initClientOsEnums(lua_State* L) { + registerEnum(L, CLIENTOS_NONE); registerEnum(L, CLIENTOS_LINUX); registerEnum(L, CLIENTOS_WINDOWS); registerEnum(L, CLIENTOS_FLASH); + registerEnum(L, CLIENTOS_NEW_LINUX); registerEnum(L, CLIENTOS_NEW_WINDOWS); registerEnum(L, CLIENTOS_NEW_MAC); registerEnum(L, CLIENTOS_OTCLIENT_LINUX); registerEnum(L, CLIENTOS_OTCLIENT_WINDOWS); registerEnum(L, CLIENTOS_OTCLIENT_MAC); + registerEnum(L, CLIENTOS_OTCLIENTV8_LINUX); + registerEnum(L, CLIENTOS_OTCLIENTV8_WINDOWS); + registerEnum(L, CLIENTOS_OTCLIENTV8_MAC); + registerEnum(L, CLIENTOS_OTCLIENTV8_ANDROID); + registerEnum(L, CLIENTOS_OTCLIENTV8_IOS); + registerEnum(L, CLIENTOS_OTCLIENTV8_WEB); } void LuaEnums::initFightModeEnums(lua_State* L) {