Package lacewing :: Package packetloaders :: Module name :: Class SetName
[frames] | no frames]

Class SetName

source code

            object --+    
                     |    
baseloader._BaseLoader --+
                         |
                        SetName

This packet is sent from the client once it wishes to login or change its name.

Instance Methods
 
read(self, data)
Parses 'data' and sets the properties of the packetloader.
source code
 
generate(self)
Generate the raw representation of the packetloader.
source code

Inherited from baseloader._BaseLoader: __init__, initialize, new

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  packetId = 1
Instance Variables
  name = None
The requested name.
Properties

Inherited from object: __class__

Method Details

read(self, data)

source code 

Parses 'data' and sets the properties of the packetloader.

Overrides: baseloader._BaseLoader.read
(inherited documentation)

generate(self)

source code 

Generate the raw representation of the packetloader.

Overrides: baseloader._BaseLoader.generate
(inherited documentation)