mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(glue): add CharacterSelectionDisplay dtor
This commit is contained in:
parent
11cf32ac36
commit
d1b4474e96
@ -5,6 +5,17 @@
|
||||
#include "object/client/Player_C.hpp"
|
||||
#include "ui/simple/CSimpleModelFFX.hpp"
|
||||
|
||||
CharacterSelectionDisplay::~CharacterSelectionDisplay() {
|
||||
if (this->m_petModel) {
|
||||
this->m_petModel->Release();
|
||||
}
|
||||
|
||||
if (this->m_component) {
|
||||
CCharacterComponent::FreeComponent(this->m_component);
|
||||
this->m_component = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void CharacterSelectionDisplay::CreateModelData() {
|
||||
auto modelData = Player_C_GetModelName(this->m_info.raceID, this->m_info.sexID);
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ class CharacterSelectionDisplay {
|
||||
// TODO
|
||||
|
||||
// Member functions
|
||||
~CharacterSelectionDisplay();
|
||||
void CreateModelData();
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user