|
|
|
@ -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 |
|
|
|
|