sockchat:s2c:context-channel-list
This is an old revision of the document!
Table of Contents
S2C Packet 7.2: Context Channel List
Populates the channel list for the server.
Format
Index | Type | Description |
---|---|---|
0 | 7 | Context Population packet ID |
1 | 2 | Context Channel List packet ID |
2 | int | Amount of users preset in this packet |
The following fields are repeated by the amount of times in the previous field. | ||
n + 1 | channel name | Name of the channel |
n + 2 | bool | Whether the channel is password protected |
n + 3 | bool | Whether the channel is temporary |
Examples
An empty channel list, however unlikely to occur:
7\t2\t0
A channel list with 7 channel present, among which one temporary:
7\t2\t7\tLounge\t0\t0\tProgramming\t0\t0\tGames\t0\t0\tSplatoon\t0\t0\tPassword\t1\t0\tStaff\t0\t0\tTemporary\t0\t1
See Also
- Channel Add - A channel has been created.
- Context User List - Provides the user list for the current channel.
- Context Message Add - Provides an existing message in the current channel.
sockchat/s2c/context-channel-list.1744594775.txt.gz · Last modified: 2025/04/14 01:39 by flash