mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(glue): add CCharacterSelection::ClearCharacterList
This commit is contained in:
parent
f6a1bb7286
commit
d9c85862d6
@ -5,6 +5,10 @@
|
|||||||
TSGrowableArray<CharacterSelectionDisplay> CCharacterSelection::s_characterList;
|
TSGrowableArray<CharacterSelectionDisplay> CCharacterSelection::s_characterList;
|
||||||
CSimpleModelFFX* CCharacterSelection::s_modelFrame;
|
CSimpleModelFFX* CCharacterSelection::s_modelFrame;
|
||||||
|
|
||||||
|
void CCharacterSelection::ClearCharacterList() {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
void CCharacterSelection::RenderPrep() {
|
void CCharacterSelection::RenderPrep() {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,6 +16,7 @@ class CCharacterSelection {
|
|||||||
static CSimpleModelFFX* s_modelFrame;
|
static CSimpleModelFFX* s_modelFrame;
|
||||||
|
|
||||||
// Static functions
|
// Static functions
|
||||||
|
static void ClearCharacterList();
|
||||||
static void RenderPrep();
|
static void RenderPrep();
|
||||||
static void SetBackgroundModel(const char* modelPath);
|
static void SetBackgroundModel(const char* modelPath);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
#include "client/ClientServices.hpp"
|
#include "client/ClientServices.hpp"
|
||||||
#include "client/Util.hpp"
|
#include "client/Util.hpp"
|
||||||
#include "console/CVar.hpp"
|
#include "console/CVar.hpp"
|
||||||
|
#include "glue/CCharacterSelection.hpp"
|
||||||
#include "glue/CRealmList.hpp"
|
#include "glue/CRealmList.hpp"
|
||||||
#include "gx/Coordinate.hpp"
|
#include "gx/Coordinate.hpp"
|
||||||
#include "gx/Device.hpp"
|
#include "gx/Device.hpp"
|
||||||
@ -684,6 +685,7 @@ void CGlueMgr::StatusDialogClick() {
|
|||||||
case IDLE_ACCOUNT_LOGIN:
|
case IDLE_ACCOUNT_LOGIN:
|
||||||
case IDLE_CHARACTER_LIST: {
|
case IDLE_CHARACTER_LIST: {
|
||||||
ClientServices::Connection()->Cancel(2);
|
ClientServices::Connection()->Cancel(2);
|
||||||
|
CCharacterSelection::ClearCharacterList();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user