mirror of
https://github.com/moparisthebest/rswiki-book
synced 2025-02-16 04:20:10 -05:00
Create MediaWiki page '317 Send add ignore'
This commit is contained in:
parent
9971eeeafc
commit
d922b4dd4e
29
317-Send-add-ignore.mediawiki
Normal file
29
317-Send-add-ignore.mediawiki
Normal file
@ -0,0 +1,29 @@
|
||||
[[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.
|
||||
|
||||
NOTE: Due to my lack of knowledge about Wiki syntax, I am not sure how to wrap the following text in [code] tags.
|
||||
|
||||
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).
|
||||
|-
|
||||
|}
|
@ -1,9 +1,9 @@
|
||||
<!-- DO NOT EDIT THIS FILE, CODE AUTOMATICALLY GENERATED BY category.sh -->
|
||||
The following categories contain pages or media.
|
||||
* [[Category Data Type]] (3 members)
|
||||
* [[Category Packet]] (82 members)
|
||||
* [[Category Packet]] (83 members)
|
||||
* [[Category Packet 194]] (4 members)
|
||||
* [[Category Packet 317]] (76 members)
|
||||
* [[Category Packet 317]] (77 members)
|
||||
* [[Category Packet 474]] (1 members)
|
||||
* [[Category Packet {{{revision}}}]] (1 members)
|
||||
* [[Category RS2]] (4 members)
|
||||
|
@ -1,7 +1,7 @@
|
||||
317 Packets
|
||||
<!-- DO NOT EDIT BELOW THIS LINE, OR CHANGE THIS COMMENT, CODE AUTOMATICALLY GENERATED BY category.sh -->
|
||||
== '''Pages in category "Packet 317"''' ==
|
||||
The following 76 pages are in this category.
|
||||
The following 77 pages are in this category.
|
||||
* [[317 Add friend]]
|
||||
* [[317 Add ignore]]
|
||||
* [[317 Alternate item option 2]]
|
||||
@ -68,6 +68,7 @@ The following 76 pages are in this category.
|
||||
* [[317 Run energy]]
|
||||
* [[317 Scroll position]]
|
||||
* [[317 Send add friend]]
|
||||
* [[317 Send add ignore]]
|
||||
* [[317 Send message]]
|
||||
* [[317 Send sidebar interface]]
|
||||
* [[317 Set interface text]]
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!-- DO NOT EDIT BELOW THIS LINE, OR CHANGE THIS COMMENT, CODE AUTOMATICALLY GENERATED BY category.sh -->
|
||||
== '''Pages in category "Packet"''' ==
|
||||
The following 82 pages are in this category.
|
||||
The following 83 pages are in this category.
|
||||
* [[194 Clear screen]]
|
||||
* [[194 Logout]]
|
||||
* [[194 Protocol]]
|
||||
@ -71,6 +71,7 @@ The following 82 pages are in this category.
|
||||
* [[317 Run energy]]
|
||||
* [[317 Scroll position]]
|
||||
* [[317 Send add friend]]
|
||||
* [[317 Send add ignore]]
|
||||
* [[317 Send message]]
|
||||
* [[317 Send sidebar interface]]
|
||||
* [[317 Set interface text]]
|
||||
|
Loading…
Reference in New Issue
Block a user