From b43eac649a357818e5c237626b6acbd68f0790e0 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 7 May 2020 21:56:53 +0100 Subject: [PATCH] Add missing player handlers --- houdini/handlers/play/player.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/houdini/handlers/play/player.py b/houdini/handlers/play/player.py index 9fc2ea7..3d0ffe4 100644 --- a/houdini/handlers/play/player.py +++ b/houdini/handlers/play/player.py @@ -314,6 +314,21 @@ async def handle_send_mascot_message(p, message_id: int): await p.room.send_xt('sma', p.id, message_id) +@handlers.handler(XTPacket('u', 'sj')) +async def handle_send_joke(p, message_id: int): + await p.room.send_xt('sj', p.id, message_id) + + +@handlers.handler(XTPacket('u', 'sl')) +async def handle_send_stage_line_message(p, message_id: int): + await p.room.send_xt('sl', p.id, message_id) + + +@handlers.handler(XTPacket('u', 'sg')) +async def handle_send_tour_guide_message(p, message_id: int): + await p.room.send_xt('sg', p.id, message_id) + + @handlers.handler(XTPacket('u', 'glr')) async def handle_get_last_revision(p): await p.send_xt('glr', 'houdini')