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.
13 lines
441 B
13 lines
441 B
2 years ago
|
package org.openrs2.protocol.jaggrab.upstream
|
||
3 years ago
|
|
||
|
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"
|
||
|
}
|
||
|
}
|