Sort protocols

master
Graham 2 years ago
parent 892a69df03
commit 02d39297cb
  1. 16
      protocol/src/main/kotlin/org/openrs2/protocol/ProtocolModule.kt

@ -29,6 +29,14 @@ public object ProtocolModule : AbstractModule() {
install(BufferModule) install(BufferModule)
install(CryptoModule) install(CryptoModule)
bindProtocol(
Js5RemoteDownstream::class.java,
Js5OkCodec::class.java,
ClientOutOfDateCodec::class.java,
ServerFullCodec::class.java,
IpLimitCodec::class.java
)
bindProtocol( bindProtocol(
LoginUpstream::class.java, LoginUpstream::class.java,
InitGameConnectionCodec::class.java, InitGameConnectionCodec::class.java,
@ -48,14 +56,6 @@ public object ProtocolModule : AbstractModule() {
IpLimitCodec::class.java IpLimitCodec::class.java
) )
bindProtocol(
Js5RemoteDownstream::class.java,
Js5OkCodec::class.java,
ClientOutOfDateCodec::class.java,
ServerFullCodec::class.java,
IpLimitCodec::class.java
)
bindProtocol( bindProtocol(
WorldListDownstream::class.java, WorldListDownstream::class.java,
WorldListResponseCodec::class.java WorldListResponseCodec::class.java

Loading…
Cancel
Save