mirror of
https://github.com/solero/houdini.git
synced 2024-12-23 05:53:38 +00:00
Get inventory handler
This commit is contained in:
parent
86da66da4d
commit
63fd52e93d
@ -0,0 +1,8 @@
|
||||
from houdini import handlers
|
||||
from houdini.handlers import XTPacket
|
||||
|
||||
|
||||
@handlers.handler(XTPacket('i', 'gi'))
|
||||
@handlers.allow_once()
|
||||
async def handle_get_inventory(p):
|
||||
await p.send_xt('gi', *p.data.inventory.keys())
|
Loading…
Reference in New Issue
Block a user