mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(glue): update CCharacterSelection
This commit is contained in:
parent
c98a41a761
commit
57980ba822
7 changed files with 100 additions and 34 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue