Class CloudPlayerLinks.LinkExpiry

java.lang.Object
com.ultikits.ultitools.websocket.CloudPlayerLinks.LinkExpiry
Enclosing class:
CloudPlayerLinks

public static final class CloudPlayerLinks.LinkExpiry extends Object
One link that stopped being usable.
Since:
6.3.1
  • Field Details

  • Constructor Details

    • LinkExpiry

      public LinkExpiry(String linkId, UUID playerUuid, String playerName, CloudPlayerLinks.ExpiryReason reason)
      Creates an expiry; a module test may build one directly.
      Parameters:
      linkId - the id of the link that expired
      playerUuid - the player's UUID
      playerName - the player's name
      reason - why it stopped being usable
  • Method Details

    • linkId

      public String linkId()
      Returns:
      the id of the link that expired
    • playerUuid

      public UUID playerUuid()
      Returns:
      the player's UUID
    • playerName

      public String playerName()
      Returns:
      the player's name
    • reason

      Returns:
      why the link stopped being usable
    • toString

      public String toString()
      Overrides:
      toString in class Object