Update MediaWiki page '135 Protocol'

This commit is contained in:
Protocol 2012-11-10 13:43:16 +00:00 committed by moparisthebest
parent 73a6426077
commit 55e4bde812

View File

@ -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