feat(PlayerDB): notify when player is online (#1386)

This commit is contained in:
Andreas Maerten
2023-06-06 13:37:45 +02:00
committed by GitHub
parent 70efa40afe
commit 1b389d44a7
4 changed files with 13 additions and 11 deletions

View File

@ -96,7 +96,8 @@ namespace big
if (ImGui::InputScalar("RID"_T.data(), ImGuiDataType_S64, &current_player->rockstar_id)
|| ImGui::Checkbox("IS_MODDER"_T.data(), &current_player->is_modder)
|| ImGui::Checkbox("BLOCK_JOIN"_T.data(), &current_player->block_join))
|| ImGui::Checkbox("BLOCK_JOIN"_T.data(), &current_player->block_join)
|| ImGui::Checkbox("Notify When Online", &current_player->notify_online))
{
if (current_player->rockstar_id != selected->rockstar_id)
g_player_database_service->update_rockstar_id(selected->rockstar_id, current_player->rockstar_id);