feat(cache): expand ped (#1156)

This commit is contained in:
Aure7138
2023-04-02 00:37:26 +08:00
committed by GitHub
parent 093700ee1c
commit ea33c09e8c
14 changed files with 215 additions and 62 deletions

View File

@ -46,6 +46,14 @@ namespace big
{
g_gta_data_service->update_in_online();
}
if (*g_pointers->m_game_state == eGameState::Respawn)
{
if (ImGui::Button("GAME_CACHE_ON_INIT"_T.data()))
{
g_gta_data_service->update_on_init();
}
}
}
break;
@ -68,6 +76,18 @@ namespace big
break;
}
case eGtaDataUpdateState::ON_INIT_WAITING:
{
ImGui::Text("GAME_CACHE_WAITING_FOR_SINGLE_PLAYER"_T.data());
break;
}
case eGtaDataUpdateState::ON_INIT_UPDATE_START:
{
ImGui::Text("GAME_CACHE_UPDATING"_T.data());
break;
}
case eGtaDataUpdateState::IDLE:
{
ImGui::CloseCurrentPopup();