mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-09 02:43:38 +08:00
feat(Hooks): Don't log player join/leave
This commit is contained in:
parent
8b656cf533
commit
8b385165fd
@ -5,8 +5,6 @@ namespace big
|
||||
{
|
||||
void hooks::player_join(CNetworkObjectMgr* _this, CNetGamePlayer* net_player)
|
||||
{
|
||||
LOG(INFO) << "Player '" << net_player->get_name() << "' joined taking slot #" << (int)net_player->m_player_id;
|
||||
|
||||
g_player_service->player_join(net_player);
|
||||
|
||||
return g_hooking->m_player_has_joined_hook.get_original<decltype(&hooks::player_join)>()(_this, net_player);
|
||||
|
@ -5,8 +5,6 @@ namespace big
|
||||
{
|
||||
void hooks::player_leave(CNetworkObjectMgr* _this, CNetGamePlayer* net_player)
|
||||
{
|
||||
LOG(INFO) << "Player '" << net_player->get_name() << "' left freeing slot #" << (int)net_player->m_player_id;
|
||||
|
||||
g_player_service->player_leave(net_player);
|
||||
|
||||
return g_hooking->m_player_has_left_hook.get_original<decltype(&hooks::player_leave)>()(_this, net_player);
|
||||
|
Loading…
x
Reference in New Issue
Block a user