Home | Trees | Indices | Help |
|
---|
|
1 # Copyright (c) 2011 Mathias Kaerlev. 2 # See LICENSE for details. 3 4 import struct 5 from struct import unpack_from, pack 6 7 from lacewing.baseloader import _BaseLoader 8 from lacewing.exceptions import OutOfData 911 newData = buffer(data, offset, size) 12 if len(newData) < size: 13 raise OutOfData 14 return str(newData)15 26 354438 if hasattr(self, 'playerName'): 39 self.playerName = connection.name 40 if hasattr(self, 'playerId'): 41 self.playerId = connection.id 42 if hasattr(self, 'playerIp'): 43 self.playerIp = connection.transport.getPeer().host
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Dec 22 06:20:00 2011 | http://epydoc.sourceforge.net |