refactor!: Replace premake5 with CMake. (#551)

Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
This commit is contained in:
tupoy-ya
2022-11-08 21:08:58 +00:00
committed by GitHub
parent d9d8aa30c1
commit bc05ecd78c
340 changed files with 19298 additions and 19449 deletions
+17
View File
@@ -0,0 +1,17 @@
#include "hooking.hpp"
namespace big
{
void hooks::get_network_event_data(int64_t unk, rage::CEventNetwork* net_event)
{
switch (net_event->get_type()) {
case 161: //CEventNetworkRemovedFromSessionDueToComplaints
{
g_notification_service->push_warning("Kicked", "You have been desync kicked.");
break;
}
}
return g_hooking->get_original<get_network_event_data>()(unk, net_event);
}
}