Class ViaVersionAccessorImplLegacy
java.lang.Object
io.github.retrooper.packetevents.util.viaversion.ViaVersionAccessorImplLegacy
- All Implemented Interfaces:
ViaVersionAccessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> Class
<?> int
getProtocolVersion
(com.github.retrooper.packetevents.protocol.player.User user) int
getProtocolVersion
(org.bukkit.entity.Player player) Class
<?>
-
Constructor Details
-
ViaVersionAccessorImplLegacy
public ViaVersionAccessorImplLegacy()
-
-
Method Details
-
getProtocolVersion
public int getProtocolVersion(org.bukkit.entity.Player player) - Specified by:
getProtocolVersion
in interfaceViaVersionAccessor
-
getProtocolVersion
public int getProtocolVersion(com.github.retrooper.packetevents.protocol.player.User user) - Specified by:
getProtocolVersion
in interfaceViaVersionAccessor
-
getUserConnectionClass
- Specified by:
getUserConnectionClass
in interfaceViaVersionAccessor
-
getBukkitDecodeHandlerClass
- Specified by:
getBukkitDecodeHandlerClass
in interfaceViaVersionAccessor
-
getBukkitEncodeHandlerClass
- Specified by:
getBukkitEncodeHandlerClass
in interfaceViaVersionAccessor
-