Package lacewing :: Package packetloaders :: Module clientevent :: Class ClientEvent
[frames] | no frames]

Class ClientEvent

source code

            object --+    
                     |    
baseloader._BaseLoader --+
                         |
                        ClientEvent

This is sent by the server to notify about a client either joining or leaving a channel.

Instance Methods
 
initialize(self)
Initializer for this loader
source code
 
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__, new

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

Class Variables
  packetId = 27
Instance Variables
  id = None
The ID of the client
  channelId = None
The channel ID.
  name = None
The name of the client.
  flags = None
Flags that states whether the client just joined, etc.
Properties

Inherited from object: __class__

Method Details

initialize(self)

source code 

Initializer for this loader

Overrides: baseloader._BaseLoader.initialize
(inherited documentation)

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)