Class PacketTypeData

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketTypeData

public class PacketTypeData extends Object
  • Constructor Details

    • PacketTypeData

      public PacketTypeData(@Nullable @Nullable PacketTypeCommon packetType, int nativePacketId)
  • Method Details

    • getPacketType

      @Nullable public @Nullable PacketTypeCommon getPacketType()
    • getNativePacketId

      public int getNativePacketId()
    • setPacketType

      public void setPacketType(@Nullable @Nullable PacketTypeCommon packetType)
    • setNativePacketId

      public void setNativePacketId(int nativePacketId)