mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 00:28:23 +03:00
feat(ui): implement Script_EnterWorld
This commit is contained in:
3 files changed
+8
-1
No files matched your search
@@ -111,6 +111,10 @@ void CGlueMgr::ChangeRealm(const REALM_INFO* realmInfo) {
|
||||
ClientServices::Connection()->Connect();
|
||||
}
|
||||
|
||||
void CGlueMgr::EnterWorld() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGlueMgr::DisplayLoginStatus() {
|
||||
// No change
|
||||
if (CGlueMgr::m_lastLoginState == CGlueMgr::m_loginState && CGlueMgr::m_lastLoginResult == CGlueMgr::m_loginResult) {
|
||||
|
||||
@@ -58,6 +58,7 @@ class CGlueMgr {
|
||||
// Static functions
|
||||
static void ChangeRealm(const REALM_INFO* realmInfo);
|
||||
static void DisplayLoginStatus();
|
||||
static void EnterWorld();
|
||||
static void GetCharacterList();
|
||||
static void GetRealmList(int32_t a1);
|
||||
static int32_t HandleBattlenetDisconnect();
|
||||
|
||||
@@ -270,7 +270,9 @@ int32_t Script_IsConnectedToServer(lua_State* L) {
|
||||
}
|
||||
|
||||
int32_t Script_EnterWorld(lua_State* L) {
|
||||
WHOA_UNIMPLEMENTED(0);
|
||||
CGlueMgr::EnterWorld();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t Script_Screenshot(lua_State* L) {
|
||||
|
||||
Reference in new issue
Block a user