(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG> |
IndexedMessageCodec.addCodecIndex(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |
(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG> |
IndexedMessageCodec.findIndex(short i) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
IndexedMessageCodec.findMessageType(MSG msgToReply) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
SimpleChannel.registerMessage(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer) |
<MSG> IndexedMessageCodec.MessageHandler<MSG> |
SimpleChannel.registerMessage(int index,
java.lang.Class<MSG> messageType,
java.util.function.BiConsumer<MSG,PacketBuffer> encoder,
java.util.function.Function<PacketBuffer,MSG> decoder,
java.util.function.BiConsumer<MSG,java.util.function.Supplier<NetworkEvent.Context>> messageConsumer,
java.util.Optional<NetworkDirection> networkDirection) |