feat(glue): add CCharacterSelection::ClearCharacterList

This commit is contained in:
fallenoak 2025-10-03 23:09:23 -05:00
parent f6a1bb7286
commit d9c85862d6
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
3 changed files with 7 additions and 0 deletions

View File

@ -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
} }

View File

@ -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);
}; };

View File

@ -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;
} }