Class AbstractProtocol<CU extends ClientboundPacketType,CM extends ClientboundPacketType,SM extends ServerboundPacketType,SU extends ServerboundPacketType>

java.lang.Object
com.viaversion.viaversion.api.protocol.AbstractProtocol<CU,CM,SM,SU>
Type Parameters:
CU - unmapped clientbound packet type
CM - mapped clientbound packet type
SM - mapped serverbound packet type
SU - unmapped serverbound packet type
All Implemented Interfaces:
Protocol<CU,CM,SM,SU>
Direct Known Subclasses:
AbstractSimpleProtocol

public abstract class AbstractProtocol<CU extends ClientboundPacketType,CM extends ClientboundPacketType,SM extends ServerboundPacketType,SU extends ServerboundPacketType> extends Object implements Protocol<CU,CM,SM,SU>
Abstract protocol class to handle packet transformation between two protocol versions.