feat(glue): add CCharacterSelection::ClearCharacterList

This commit is contained in:
fallenoak committed 2025-10-03 23:09:23 -05:00
1 parent f6a1bb7286
commit d9c85862d6
3 files changed
+7

No files matched your search

+4
View File
@@ -5,6 +5,10 @@
TSGrowableArray<CharacterSelectionDisplay> CCharacterSelection::s_characterList;
CSimpleModelFFX* CCharacterSelection::s_modelFrame;
void CCharacterSelection::ClearCharacterList() {
// TODO
}
void CCharacterSelection::RenderPrep() {
// TODO
}
+1
View File
@@ -16,6 +16,7 @@ class CCharacterSelection {
static CSimpleModelFFX* s_modelFrame;
// Static functions
static void ClearCharacterList();
static void RenderPrep();
static void SetBackgroundModel(const char* modelPath);
};
+2
View File
@@ -3,6 +3,7 @@
#include "client/ClientServices.hpp"
#include "client/Util.hpp"
#include "console/CVar.hpp"
#include "glue/CCharacterSelection.hpp"
#include "glue/CRealmList.hpp"
#include "gx/Coordinate.hpp"
#include "gx/Device.hpp"
@@ -684,6 +685,7 @@ void CGlueMgr::StatusDialogClick() {
case IDLE_ACCOUNT_LOGIN:
case IDLE_CHARACTER_LIST: {
ClientServices::Connection()->Cancel(2);
CCharacterSelection::ClearCharacterList();
break;
}