From 80d1cffdcdacb832c9fd4415e3da5b4a453ebd04 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 26 Dec 2023 21:27:26 +0100 Subject: [PATCH] update to new ngc_events --- src/solanaceae/toxic_games/toxic_games.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/solanaceae/toxic_games/toxic_games.cpp b/src/solanaceae/toxic_games/toxic_games.cpp index 5793c4f..5038fbc 100644 --- a/src/solanaceae/toxic_games/toxic_games.cpp +++ b/src/solanaceae/toxic_games/toxic_games.cpp @@ -29,9 +29,9 @@ ToxicGames::ToxicGames( } // register custom packet handlers - _tep.subscribe(this, Tox_Event::TOX_EVENT_FRIEND_LOSSLESS_PACKET); - _tep.subscribe(this, Tox_Event::TOX_EVENT_GROUP_CUSTOM_PACKET); - _tep.subscribe(this, Tox_Event::TOX_EVENT_GROUP_CUSTOM_PRIVATE_PACKET); + _tep.subscribe(this, Tox_Event_Type::TOX_EVENT_FRIEND_LOSSLESS_PACKET); + _tep.subscribe(this, Tox_Event_Type::TOX_EVENT_GROUP_CUSTOM_PACKET); + _tep.subscribe(this, Tox_Event_Type::TOX_EVENT_GROUP_CUSTOM_PRIVATE_PACKET); } //void ToxicGames::addGameInstance(uint8_t game_type, uint32_t game_id, std::unique_ptr instance) {