Skip to content

Commit

Permalink
feat: add missing constants for client OS (opentibiabr#3179)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored and vllworldbuilding committed Jan 10, 2025
1 parent c77d8fc commit 527f0d1
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 @@ -800,14 +800,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 527f0d1

Please sign in to comment.