sockchat:s2c:context-user-list
This is an old revision of the document!
Table of Contents
S2C Packet 7.0: Context User List
Populates the user list for the channel the client just joined.
If the user is already connected elsewhere, this list MUST NOT include the client user themselves.
Format
Index | Type | Description |
---|---|---|
0 | 7 | Context Population packet ID |
1 | 0 | Context User 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 | string | Message ID associated with this event |
n + 2 | user name | Name of the existing user |
n + 3 | colour | Display colour of the existing user |
n + 4 | user perms | Permissions for the existing user |
n + 5 | bool | Whether the existing user is visible |
Examples
An empty user list:
7\t0\t0
A user list with 11 users present, all visible:
7\t0\t11\t2\tnook\t#492f10\t10\f1\f0\f1\f1\t1\t11\tSatori\t#e5a5c7\t9\f1\f0\f1\f0\t1\t9\trandom\t#19d719\t7\f1\f0\f1\f0\t1\t115\tosk\t#ee9400\t7\f1\f0\f1\f1\t1\t32\tszy\t#7353c4\t7\f1\f0\f1\f1\t1\t186\tParsee\t#9e8da7\t5\f0\f0\f1\f0\t1\t214\tDimentio\tinherit\t1\f0\f0\f0\f0\t1\t248\tkp\tinherit\t1\f0\f0\f0\f0\t1\t284\tlachrymal\tinherit\t1\f0\f0\f0\f0\t1\t73\trjoken\t#f02d7d\t1\f0\f0\f1\f0\t1\t5\twin\t#f02d7d\t1\f0\f0\f0\f0\t1
The same list but with faulty permission strings and user 9 is marked invisible:
7\t0\t11\t2\tnook\t#492f10\t10 1 0 1 1\t1\t11\tSatori\t#e5a5c7\t9 1 0 1 0\t0\t9\trandom\t#19d719\t7 1 0 1 0\t1\t115\tosk\t#ee9400\t7 1 0 1 1\t1\t32\tszy\t#7353c4\t7 1 0 1 1\t1\t186\tParsee\t#9e8da7\t5 0 0 1 0\t1\t214\tDimentio\tinherit\t1 0 0 0 0\t1\t248\tkp\tinherit\t1 0 0 0 0\t1\t284\tlachrymal\tinherit\t1 0 0 0 0\t1\t73\trjoken\t#f02d7d\t1 0 0 1 0\t1\t5\twin\t#f02d7d\t1 0 0 0 0\t1
See Also
- User Add - Another user has been added.
- Context Message Add - Provides an existing message in the current channel.
- Context Channel List - Provides the channel list of the server.
sockchat/s2c/context-user-list.1744589301.txt.gz · Last modified: 2025/04/14 00:08 by flash