mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 00:15:24 +00:00
del[py]: del unused method
This commit is contained in:
1 parent
307043bd89
commit
ceb4361d21
2 files changed
-14
No files matched your search
@@ -353,13 +353,6 @@ class ByteBuffer():
|
||||
self.readOffset += length
|
||||
return value
|
||||
|
||||
def writePacketFlag(self, value):
|
||||
if value is None:
|
||||
self.writeBool(False)
|
||||
else:
|
||||
self.writeBool(True)
|
||||
pass
|
||||
|
||||
def writePacket(self, packet, protocolId):
|
||||
protocolRegistration = ProtocolManager.getProtocol(protocolId)
|
||||
protocolRegistration.write(self, packet)
|
||||
|
||||
@@ -353,13 +353,6 @@ class ByteBuffer():
|
||||
self.readOffset += length
|
||||
return value
|
||||
|
||||
def writePacketFlag(self, value):
|
||||
if value is None:
|
||||
self.writeBool(False)
|
||||
else:
|
||||
self.writeBool(True)
|
||||
pass
|
||||
|
||||
def writePacket(self, packet, protocolId):
|
||||
protocolRegistration = ProtocolManager.getProtocol(protocolId)
|
||||
protocolRegistration.write(self, packet)
|
||||
|
||||
Reference in new issue
Block a user