类 PacketEncryptor

    • 字段详细资料

      • manager

        private final PacketEncryptionManager manager
        Mappings:
        Namespace Name Mixin selector
        official a Lnw;a:Lnu;
        intermediary field_11620 Lnet/minecraft/class_2529;field_11620:Lnet/minecraft/class_2524;
        named manager Lnet/minecraft/network/encryption/PacketEncryptor;manager:Lnet/minecraft/network/encryption/PacketEncryptionManager;
    • 构造器详细资料

      • PacketEncryptor

        public PacketEncryptor​(Cipher cipher)
    • 方法详细资料

      • encode

        protected void encode​(ChannelHandlerContext channelHandlerContext,
                              ByteBuf byteBuf,
                              ByteBuf byteBuf2)
                       throws Exception
        指定者:
        encode 在类中 MessageToByteEncoder<ByteBuf>
        抛出:
        Exception
        Mappings:
        Namespace Name Mixin selector
        official a Lnw;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
        intermediary method_10736 Lnet/minecraft/class_2529;method_10736(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V
        named encode Lnet/minecraft/network/encryption/PacketEncryptor;encode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)V