Add missing player handlers

This commit is contained in:
Ben 2020-05-07 21:56:53 +01:00
parent 8a6391c871
commit b43eac649a

View File

@ -314,6 +314,21 @@ async def handle_send_mascot_message(p, message_id: int):
await p.room.send_xt('sma', p.id, message_id) 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')) @handlers.handler(XTPacket('u', 'glr'))
async def handle_get_last_revision(p): async def handle_get_last_revision(p):
await p.send_xt('glr', 'houdini') await p.send_xt('glr', 'houdini')