mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-25 02:22:18 -05:00
Update MediaWiki page '135 Protocol'
This commit is contained in:
parent
73a6426077
commit
55e4bde812
@ -210,6 +210,12 @@ Some 135 packets are documented ahead. First you will find the packets' body, th
|
|||||||
(:require [jagex.Util])
|
(:require [jagex.Util])
|
||||||
(:use [jagex.client.SocketStream]))
|
(:use [jagex.client.SocketStream]))
|
||||||
|
|
||||||
|
;; Opcode: 1
|
||||||
|
(defn disconnect [stream]
|
||||||
|
(doto stream
|
||||||
|
(.begin-packet1)
|
||||||
|
(.flush)))
|
||||||
|
|
||||||
;; Opcode: 2
|
;; Opcode: 2
|
||||||
(defn newplayer [stream]
|
(defn newplayer [stream]
|
||||||
(doto stream
|
(doto stream
|
||||||
@ -284,6 +290,11 @@ Some 135 packets are documented ahead. First you will find the packets' body, th
|
|||||||
! Payload
|
! Payload
|
||||||
! Description
|
! Description
|
||||||
|-
|
|-
|
||||||
|
! Disconnect
|
||||||
|
| 1 ||
|
||||||
|
* None
|
||||||
|
| Sends the disconnect packet.
|
||||||
|
|-
|
||||||
! Newplayer (Registration)
|
! Newplayer (Registration)
|
||||||
| 2 ||
|
| 2 ||
|
||||||
* Short - Unknown
|
* Short - Unknown
|
||||||
|
Loading…
Reference in New Issue
Block a user