added some events?

This commit is contained in:
əlemi 2022-04-06 21:30:54 +02:00
parent a5169f40cc
commit fafb19a7a2
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,8 @@
from aiocraft.mc.packet import Packet
from .base import BaseEvent
class PacketEvent(BaseEvent):
packet : Packet
def __init__(self, p:Packet):
self.packet = p

View file

@ -0,0 +1,8 @@
from .base import BaseEvent
class ConnectedEvent(BaseEvent):
pass
class DisconnectedEvent(BaseEvent):
pass