Sort protocols

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(CryptoModule)
bindProtocol(
Js5RemoteDownstream::class.java,
Js5OkCodec::class.java,
ClientOutOfDateCodec::class.java,
ServerFullCodec::class.java,
IpLimitCodec::class.java
)
bindProtocol(
LoginUpstream::class.java,
InitGameConnectionCodec::class.java,
@ -48,14 +56,6 @@ public object ProtocolModule : AbstractModule() {
IpLimitCodec::class.java
)
bindProtocol(
Js5RemoteDownstream::class.java,
Js5OkCodec::class.java,
ClientOutOfDateCodec::class.java,
ServerFullCodec::class.java,
IpLimitCodec::class.java
)
bindProtocol(
WorldListDownstream::class.java,
WorldListResponseCodec::class.java

Loading…
Cancel
Save