Compare commits

...
3 Commits
Author SHA1 Message Date
Tristan 'Natrist' Cormier 4056446cf5 Merge e985629f09 into 6923b07f6c 2026-09-23 20:52:36 -04:00
Marco Tylus 6923b07f6c feat(ui): implement Script_IsDebugBuild (#171)
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Has been cancelled
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Has been cancelled
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Has been cancelled
2026-09-18 21:41:19 -05:00
Tristan Cormier e985629f09 feat(client): stub ClientServices::CharacterValidateName 2026-02-14 20:59:35 -05:00
3 changed files with 13 additions and 1 deletions

No files matched your search

+5
View File
@@ -160,6 +160,11 @@ ClientConnection* ClientServices::Connection() {
return ClientServices::s_currentConnection;
}
uint32_t ClientServices::CharacterValidateName(const char* name) {
// TODO
return 87;
}
void ClientServices::Disconnect() {
ClientServices::Connection()->Disconnect();
}
+1
View File
@@ -33,6 +33,7 @@ class ClientServices : public LoginResponse {
// Static functions
static void ConnectToSelectedServer();
static ClientConnection* Connection();
static uint32_t CharacterValidateName(const char* name);
static void Disconnect();
static const char* GetCurrentLoginPortal();
static const char* GetCurrentLoginServer();
+7 -1
View File
@@ -120,7 +120,13 @@ int32_t Script_GetDebugStats(lua_State* L) {
}
int32_t Script_IsDebugBuild(lua_State* L) {
WHOA_UNIMPLEMENTED(0);
#if defined(NDEBUG)
lua_pushboolean(L, 0);
#else
lua_pushboolean(L, 1);
#endif
return 1;
}
int32_t Script_RegisterCVar(lua_State* L) {