mirror of https://github.com/FabricMC/yarn.git
Handlers/Filters for handshake (#74)
* Version filter + some misc mappings * Add dummy filter Appears to be used when setting up integrated server * Filter -> ConnectionFilter * Move IConnectionFilter to network.handler
This commit is contained in:
parent
708bffc099
commit
663564abfe
|
@ -17,10 +17,12 @@ CLASS none/eq net/minecraft/network/ClientConnection
|
||||||
ARG 0 address
|
ARG 0 address
|
||||||
ARG 1 port
|
ARG 1 port
|
||||||
METHOD a connect (Ljava/net/SocketAddress;)Lnone/eq;
|
METHOD a connect (Ljava/net/SocketAddress;)Lnone/eq;
|
||||||
|
METHOD a setState (Lnone/er;)V
|
||||||
METHOD a setPacketListener (Lnone/ev;)V
|
METHOD a setPacketListener (Lnone/ev;)V
|
||||||
ARG 0 packetListener
|
ARG 0 packetListener
|
||||||
METHOD a disconnect (Lnone/fa;)V
|
METHOD a disconnect (Lnone/fa;)V
|
||||||
ARG 0 reason
|
ARG 0 reason
|
||||||
|
METHOD a sendPacket (Lnone/fl;)V
|
||||||
METHOD b getAddress ()Ljava/net/SocketAddress;
|
METHOD b getAddress ()Ljava/net/SocketAddress;
|
||||||
METHOD c isLocal ()Z
|
METHOD c isLocal ()Z
|
||||||
METHOD channelActive channelActive (Lio/netty/channel/ChannelHandlerContext;)V
|
METHOD channelActive channelActive (Lio/netty/channel/ChannelHandlerContext;)V
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
CLASS none/jp net/minecraft/network/handler/IConnectionFilter
|
||||||
|
METHOD a handlePacket (Lnone/jo;)V
|
||||||
|
ARG 0 handshake
|
|
@ -0,0 +1,10 @@
|
||||||
|
CLASS none/me net/minecraft/server/DummyConnectionFilter
|
||||||
|
FIELD a server Lnet/minecraft/server/MinecraftServer;
|
||||||
|
FIELD b connection Lnone/eq;
|
||||||
|
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnone/eq;)V
|
||||||
|
ARG 0 server
|
||||||
|
ARG 1 connection
|
||||||
|
METHOD a onConnectionLost (Lnone/fa;)V
|
||||||
|
ARG 0 reason
|
||||||
|
METHOD a handlePacket (Lnone/jo;)V
|
||||||
|
ARG 0 handshake
|
|
@ -0,0 +1,10 @@
|
||||||
|
CLASS none/mh net/minecraft/server/VersionConnectionFilter
|
||||||
|
FIELD a server Lnet/minecraft/server/MinecraftServer;
|
||||||
|
FIELD b connection Lnone/eq;
|
||||||
|
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnone/eq;)V
|
||||||
|
ARG 0 server
|
||||||
|
ARG 1 connection
|
||||||
|
METHOD a onConnectionLost (Lnone/fa;)V
|
||||||
|
ARG 0 reason
|
||||||
|
METHOD a handlePacket (Lnone/jo;)V
|
||||||
|
ARG 0 handshake
|
|
@ -0,0 +1,10 @@
|
||||||
|
CLASS none/fi net/minecraft/text/TranslateException
|
||||||
|
METHOD <init> (Lnone/fh;I)V
|
||||||
|
ARG 0 component
|
||||||
|
ARG 1 value
|
||||||
|
METHOD <init> (Lnone/fh;Ljava/lang/String;)V
|
||||||
|
ARG 0 component
|
||||||
|
ARG 1 value
|
||||||
|
METHOD <init> (Lnone/fh;Ljava/lang/Throwable;)V
|
||||||
|
ARG 0 component
|
||||||
|
ARG 1 value
|
|
@ -1,3 +0,0 @@
|
||||||
CLASS none/me
|
|
||||||
METHOD a onConnectionLost (Lnone/fa;)V
|
|
||||||
ARG 0 reason
|
|
|
@ -1,3 +0,0 @@
|
||||||
CLASS none/mh
|
|
||||||
METHOD a onConnectionLost (Lnone/fa;)V
|
|
||||||
ARG 0 reason
|
|
Loading…
Reference in New Issue