1 """
2 Channel join request.
3 """
4
5 from struct import unpack_from, pack
6
7 from lacewing.baseloader import _BaseLoader
8 from lacewing.bitdict import BitDict
9
11 """
12 This is sent by the client if it wants to join a
13 channel by name, or to leave a channel by ID.
14
15 @ivar channel: The name of the channel to join.
16 @ivar channelId: The ID of the channel to leave.
17 @ivar flags: Flags to tell if we're leaving or to tell if the
18 channel should be hidden
19 """
20 channel = None
21 channelId = None
22
23 flags = None
24
32
33 - def read(self, data):
39
46
47 __all__ = ['ChannelPacket']
48