Interface IPacketContext


public interface IPacketContext
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.channel.ChannelHandlerContext
    Retrieves the channel context passed to the packet handler.
     
  • Method Details

    • getChannelContext

      io.netty.channel.ChannelHandlerContext getChannelContext()
      Retrieves the channel context passed to the packet handler.
    • getSender

      Returns:
      The player on the server that has sent the packet
      Throws:
      UnsupportedOperationException - on the client.