mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(ui): implement Script_EnterWorld
This commit is contained in:
parent
112d6bbe66
commit
119fa8996b
@ -111,6 +111,10 @@ void CGlueMgr::ChangeRealm(const REALM_INFO* realmInfo) {
|
|||||||
ClientServices::Connection()->Connect();
|
ClientServices::Connection()->Connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CGlueMgr::EnterWorld() {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
void CGlueMgr::DisplayLoginStatus() {
|
void CGlueMgr::DisplayLoginStatus() {
|
||||||
// No change
|
// No change
|
||||||
if (CGlueMgr::m_lastLoginState == CGlueMgr::m_loginState && CGlueMgr::m_lastLoginResult == CGlueMgr::m_loginResult) {
|
if (CGlueMgr::m_lastLoginState == CGlueMgr::m_loginState && CGlueMgr::m_lastLoginResult == CGlueMgr::m_loginResult) {
|
||||||
|
|||||||
@ -58,6 +58,7 @@ class CGlueMgr {
|
|||||||
// Static functions
|
// Static functions
|
||||||
static void ChangeRealm(const REALM_INFO* realmInfo);
|
static void ChangeRealm(const REALM_INFO* realmInfo);
|
||||||
static void DisplayLoginStatus();
|
static void DisplayLoginStatus();
|
||||||
|
static void EnterWorld();
|
||||||
static void GetCharacterList();
|
static void GetCharacterList();
|
||||||
static void GetRealmList(int32_t a1);
|
static void GetRealmList(int32_t a1);
|
||||||
static int32_t HandleBattlenetDisconnect();
|
static int32_t HandleBattlenetDisconnect();
|
||||||
|
|||||||
@ -270,7 +270,9 @@ int32_t Script_IsConnectedToServer(lua_State* L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_EnterWorld(lua_State* L) {
|
int32_t Script_EnterWorld(lua_State* L) {
|
||||||
WHOA_UNIMPLEMENTED(0);
|
CGlueMgr::EnterWorld();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t Script_Screenshot(lua_State* L) {
|
int32_t Script_Screenshot(lua_State* L) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user