Home | Trees | Indices | Help |
|
---|
|
1 import struct 2 from struct import unpack_from, pack 3 4 from lacewing.baseloader import _BaseLoader 5 from lacewing.exceptions import OutOfData 68 newData = buffer(data, offset, size) 9 if len(newData) < size: 10 raise OutOfData 11 return str(newData)12 23 324135 if hasattr(self, 'playerName'): 36 self.playerName = connection.name 37 if hasattr(self, 'playerId'): 38 self.playerId = connection.id 39 if hasattr(self, 'playerIp'): 40 self.playerIp = connection.transport.getPeer().host
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 23 02:18:51 2011 | http://epydoc.sourceforge.net |