ZoneProtEncoder

interface ZoneProtEncoder<T : ZoneProt> : MessageEncoder<T>

Zone prot encoder is an extension on message encoders, with the intent being that this encoder can be passed on-to net.rsprot.protocol.game.outgoing.codec.zone.header.DesktopUpdateZonePartialEnclosedEncoder, as that packet combines multiple zone payloads into a single packet.

Properties

Link copied to clipboard
abstract val prot: ServerProt

Functions

Link copied to clipboard
abstract fun encode(buffer: JagByteBuf, message: T)
open override fun encode(streamCipher: StreamCipher, buffer: JagByteBuf, message: T)