mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-20 13:04:55 +03:00
feat(ui): add GameScriptRegisterFunctions
This commit is contained in:
6 files changed
+1601
-30
No files matched your search
@@ -522,36 +522,6 @@ int32_t Script_IsScanDLLFinished(lua_State* L) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_IsWindowsClient(lua_State* L) {
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
lua_pushnumber(L, 1.0);
|
||||
#else
|
||||
lua_pushnil(L);
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_IsMacClient(lua_State* L) {
|
||||
#if defined(WHOA_SYSTEM_MAC)
|
||||
lua_pushnumber(L, 1.0);
|
||||
#else
|
||||
lua_pushnil(L);
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_IsLinuxClient(lua_State* L) {
|
||||
#if defined(WHOA_SYSTEM_LINUX)
|
||||
lua_pushnumber(L, 1.0);
|
||||
#else
|
||||
lua_pushnil(L);
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int32_t Script_SetRealmSplitState(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user