mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-16 11:01:07 +03:00
feat(glue): update CCharacterSelection
This commit is contained in:
1 parent
c98a41a761
commit
57980ba822
7 files changed
+100
-34
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user