From 040d671ec86d347f0e8ff80dd5451aaff81e3372 Mon Sep 17 00:00:00 2001 From: Yimura Date: Thu, 28 Jul 2022 20:19:22 +0200 Subject: [PATCH] feat(Notifications): Removed old net array notification options (#364) --- BigBaseV2/src/core/globals.hpp | 6 ------ BigBaseV2/src/views/settings/view_notification_settings.cpp | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/BigBaseV2/src/core/globals.hpp b/BigBaseV2/src/core/globals.hpp index 27e5c7e0..c2f1c7cb 100644 --- a/BigBaseV2/src/core/globals.hpp +++ b/BigBaseV2/src/core/globals.hpp @@ -67,8 +67,6 @@ namespace big pair gta_thread_kill{}; pair gta_thread_start{}; - pair net_array_error{}; - pair network_player_mgr_init{}; pair network_player_mgr_shutdown{}; @@ -383,9 +381,6 @@ namespace big g->notifications.gta_thread_start.log = j["notifications"]["gta_thread_start"]["log"]; g->notifications.gta_thread_start.notify = j["notifications"]["gta_thread_start"]["notify"]; - g->notifications.net_array_error.log = j["notifications"]["net_array_error"]["log"]; - g->notifications.net_array_error.notify = j["notifications"]["net_array_error"]["notify"]; - g->notifications.network_player_mgr_init.log = j["notifications"]["network_player_mgr_init"]["log"]; g->notifications.network_player_mgr_init.notify = j["notifications"]["network_player_mgr_init"]["notify"]; g->notifications.network_player_mgr_shutdown.log = j["notifications"]["network_player_mgr_shutdown"]["log"]; @@ -667,7 +662,6 @@ namespace big "notifications", { { "gta_thread_kill", return_notify_pair(g->notifications.gta_thread_kill) }, { "gta_thread_start", return_notify_pair(g->notifications.gta_thread_start) }, - { "net_array_error", return_notify_pair(g->notifications.net_array_error) }, { "network_player_mgr_init", return_notify_pair(g->notifications.network_player_mgr_init) }, { "network_player_mgr_shutdown", return_notify_pair(g->notifications.network_player_mgr_shutdown) }, { "player_join", { diff --git a/BigBaseV2/src/views/settings/view_notification_settings.cpp b/BigBaseV2/src/views/settings/view_notification_settings.cpp index 016b5e35..5599707e 100644 --- a/BigBaseV2/src/views/settings/view_notification_settings.cpp +++ b/BigBaseV2/src/views/settings/view_notification_settings.cpp @@ -93,8 +93,7 @@ namespace big ImGui::EndGroup(); components::small_text("Other"); - - draw_pair_option("Net Array Error", g->notifications.net_array_error); + draw_pair_option("Reports", g->notifications.reports); draw_pair_option("Transaction Error / Rate Limit", g->notifications.transaction_rate_limit); draw_pair_option("Invalid sync", g->notifications.invalid_sync);