Class PlayerManagerImpl

java.lang.Object
io.github.retrooper.packetevents.manager.player.PlayerManagerImpl
All Implemented Interfaces:
com.github.retrooper.packetevents.manager.player.PlayerManager

public class PlayerManagerImpl extends Object implements com.github.retrooper.packetevents.manager.player.PlayerManager
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getChannel(@NotNull Object player)
     
    @NotNull com.github.retrooper.packetevents.protocol.player.ClientVersion
     
    int
    getPing(@NotNull Object player)
     
    com.github.retrooper.packetevents.protocol.player.User
    getUser(@NotNull Object player)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.github.retrooper.packetevents.manager.player.PlayerManager

    getConnectionState, receivePacket, receivePacket, receivePacketSilently, receivePacketSilently, sendPacket, sendPacket, sendPacketSilently, sendPacketSilently, writePacket, writePacket, writePacketSilently, writePacketSilently
  • Constructor Details

    • PlayerManagerImpl

      public PlayerManagerImpl()
  • Method Details

    • getPing

      public int getPing(@NotNull @NotNull Object player)
      Specified by:
      getPing in interface com.github.retrooper.packetevents.manager.player.PlayerManager
    • getClientVersion

      @NotNull public @NotNull com.github.retrooper.packetevents.protocol.player.ClientVersion getClientVersion(@NotNull @NotNull Object p)
      Specified by:
      getClientVersion in interface com.github.retrooper.packetevents.manager.player.PlayerManager
    • getChannel

      public Object getChannel(@NotNull @NotNull Object player)
      Specified by:
      getChannel in interface com.github.retrooper.packetevents.manager.player.PlayerManager
    • getUser

      public com.github.retrooper.packetevents.protocol.player.User getUser(@NotNull @NotNull Object player)
      Specified by:
      getUser in interface com.github.retrooper.packetevents.manager.player.PlayerManager