Class ChatSession

java.lang.Object
com.zenith.cache.data.chat.ChatSession

public class ChatSession extends Object
  • Field Details

    • playerCertificates

      protected net.raphimc.minecraftauth.step.java.StepPlayerCertificates.PlayerCertificates playerCertificates
    • chainIndex

      protected int chainIndex
  • Constructor Details

    • ChatSession

      public ChatSession(UUID sessionId)
  • Method Details

    • sign

      public void sign(ServerboundChatPacket packet)
    • sign

      public void sign(ServerboundChatCommandSignedPacket packet)
    • uuidToByteArray

      public static byte[] uuidToByteArray(UUID uuid)
    • getSessionId

      public UUID getSessionId()
    • getPlayerCertificates

      public net.raphimc.minecraftauth.step.java.StepPlayerCertificates.PlayerCertificates getPlayerCertificates()
    • getChainIndex

      public int getChainIndex()
    • setPlayerCertificates

      public ChatSession setPlayerCertificates(net.raphimc.minecraftauth.step.java.StepPlayerCertificates.PlayerCertificates playerCertificates)
      Returns:
      this.
    • setChainIndex

      public ChatSession setChainIndex(int chainIndex)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object