feat(glue): update CCharacterSelection

This commit is contained in:
VDm 2025-06-19 00:54:34 +04:00
parent c98a41a761
commit 57980ba822
7 changed files with 100 additions and 34 deletions

View file

@ -37,15 +37,12 @@ int32_t Script_SetCharSelectBackground(lua_State* L) {
}
int32_t Script_GetCharacterListUpdate(lua_State* L) {
// TODO: CCharSelectInfo::ClearCharacterModel();
// TODO: CCharSelectInfo::ClearPetModel();
CGlueMgr::GetCharacterList();
CCharacterSelection::OnGetCharacterList();
return 0;
}
int32_t Script_GetNumCharacters(lua_State* L) {
lua_pushnumber(L, CCharacterSelection::GetNumCharacters());
return 1;
}