mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-12-17 21:22:24 -05:00
27 lines
922 B
Plaintext
27 lines
922 B
Plaintext
[[Category Packet]]
|
|
[[Category Packet 317]]
|
|
{{packet|name=Send ignored users|description=Sends a list of all the ignored player IDs|opcode=214|type=VARIABLE_SHORT|length=N/A|revision=317}}
|
|
== Send ignored users ==
|
|
|
|
=== Description ===
|
|
|
|
Sends the IDs of all the users that this player has in their ignore.
|
|
|
|
This packet has a slightly different structure than the other packets.
|
|
|
|
int entries = packetSize / 8;
|
|
for (int i = 0; i < entries; i++) {
|
|
ignoreList[i] = stream.readLong();
|
|
}
|
|
|
|
By looking at the rest of the 317 protocol, there doesn't seem to be a way to change the list dynamically. It seems as though that whenever the player decides to add or remove a player from their list, it must send all the values again.
|
|
|
|
=== Packet Structure ===
|
|
{|border=2
|
|
! Data Type
|
|
! Description
|
|
|-
|
|
| [[Data Types#Standard Data Types|Long]]
|
|
| The Unique Identifier of the player(s) (possibly determined by their username).
|
|
|-
|
|
|} |