Uses of Enum Class
com.comphenix.protocol.PacketType.Protocol
Packages that use PacketType.Protocol
Package
Description
Contains classes for retrieving the main ProtocolMananger object.
-
Uses of PacketType.Protocol in com.comphenix.protocol
Methods in com.comphenix.protocol that return PacketType.ProtocolModifier and TypeMethodDescriptionstatic PacketType.ProtocolPacketType.Protocol.fromVanilla(Enum<?> vanilla)Retrieve the correct protocol enum from a given vanilla enum instance.PacketType.getProtocol()Retrieve the protocol (the connection state) the packet type belongs.static PacketType.ProtocolPacketType.Handshake.getProtocol()static PacketType.ProtocolPacketType.Login.getProtocol()static PacketType.ProtocolPacketType.Play.getProtocol()static PacketType.ProtocolPacketType.Status.getProtocol()static PacketType.ProtocolReturns the enum constant of this class with the specified name.static PacketType.Protocol[]PacketType.Protocol.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.comphenix.protocol with parameters of type PacketType.ProtocolModifier and TypeMethodDescriptionstatic PacketTypePacketType.findCurrent(PacketType.Protocol protocol, PacketType.Sender sender, int packetId)Retrieve a packet type from a protocol, sender and packet ID.static PacketTypePacketType.findCurrent(PacketType.Protocol protocol, PacketType.Sender sender, String name)static PacketTypePacketType.fromCurrent(PacketType.Protocol protocol, PacketType.Sender sender, int packetId, Class<?> packetClass)Retrieve a packet type from a protocol, sender, ID, and class for 1.8+static PacketTypePacketType.fromID(PacketType.Protocol protocol, PacketType.Sender sender, int packetId, Class<?> packetClass)Retrieve a packet type from a protocol, sender and packet ID, for pre-1.8.static booleanPacketType.hasCurrent(PacketType.Protocol protocol, PacketType.Sender sender, int packetId)Determine if the given packet exists.Constructors in com.comphenix.protocol with parameters of type PacketType.ProtocolModifierConstructorDescriptionPacketType(PacketType.Protocol protocol, PacketType.Sender sender, int currentId, MinecraftVersion version, String... names)Construct a new packet type.PacketType(PacketType.Protocol protocol, PacketType.Sender sender, int currentId, String... names)Construct a new packet type. -
Uses of PacketType.Protocol in com.comphenix.protocol.events
Methods in com.comphenix.protocol.events that return types with arguments of type PacketType.ProtocolModifier and TypeMethodDescriptionAbstractStructure.getProtocols()Retrieve a read/write structure for the Protocol enum in 1.7.2. -
Uses of PacketType.Protocol in com.comphenix.protocol.injector.netty
Methods in com.comphenix.protocol.injector.netty that return PacketType.ProtocolModifier and TypeMethodDescriptionChannelInjector.getCurrentProtocol()ClosedInjector.getCurrentProtocol()Injector.getCurrentProtocol()Retrieve the current protocol state. -
Uses of PacketType.Protocol in com.comphenix.protocol.injector.packet
Methods in com.comphenix.protocol.injector.packet with parameters of type PacketType.ProtocolModifier and TypeMethodDescriptionprotected static voidPacketRegistry.associatePackets(PacketRegistry.Register register, Map<Integer,Class<?>> lookup, PacketType.Protocol protocol, PacketType.Sender sender) -
Uses of PacketType.Protocol in com.comphenix.protocol.wrappers
Methods in com.comphenix.protocol.wrappers that return types with arguments of type PacketType.Protocol