Skip to content

Commit

Permalink
feat: add missing constants for client OS
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires committed Dec 16, 2024
1 parent 05ff8be commit 1e40a5a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lua/functions/core/game/lua_enums.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1e40a5a

Please sign in to comment.