Open-source multiplayer game server compatible with the RuneScape client
https://www.openrs2.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
441 B
12 lines
441 B
package org.openrs2.protocol.jaggrab.upstream
|
|
|
|
import io.netty.channel.ChannelHandler
|
|
import io.netty.channel.ChannelHandlerContext
|
|
import io.netty.handler.codec.MessageToMessageEncoder
|
|
|
|
@ChannelHandler.Sharable
|
|
public object JaggrabRequestEncoder : MessageToMessageEncoder<JaggrabRequest>() {
|
|
override fun encode(ctx: ChannelHandlerContext, msg: JaggrabRequest, out: MutableList<Any>) {
|
|
out += "JAGGRAB ${msg.path}\n\n"
|
|
}
|
|
}
|
|
|