feat[python]: support python

This commit is contained in:
godotg
2023-08-26 22:14:55 +08:00
parent ec7f7eff92
commit 2ea9570996
13 changed files with 88 additions and 40 deletions
@@ -1,5 +1,5 @@
{}
class {}():
class {}:
{}
@@ -8,11 +8,16 @@ class {}():
@classmethod
def write(cls, buffer, packet):
if (buffer.writePacketFlag(packet)):
if buffer.writePacketFlag(packet):
return
{}
pass
@classmethod
def read(cls, buffer):
if not buffer.readBool():
return None
packet = {}()
{}
pass
return packet