From 877312184c472d9845e5ef1008bc538f4634059f Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:50:56 +0300 Subject: fix missing source folder --- .../net/minecraftforge/common/UsernameCache.html | 339 --------------------- 1 file changed, 339 deletions(-) delete mode 100644 javadoc/net/minecraftforge/common/UsernameCache.html (limited to 'javadoc/net/minecraftforge/common/UsernameCache.html') diff --git a/javadoc/net/minecraftforge/common/UsernameCache.html b/javadoc/net/minecraftforge/common/UsernameCache.html deleted file mode 100644 index 055d13a..0000000 --- a/javadoc/net/minecraftforge/common/UsernameCache.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - -UsernameCache (Forge API) - - - - - - - -
- - - - - -
- - - -
-
net.minecraftforge.common
-

Class UsernameCache

-
-
- -
-
    -
  • -
    -
    -
    public final class UsernameCache
    -extends java.lang.Object
    -
    Caches player's last known usernames -

    - Modders should use getLastKnownUsername(UUID) to determine a players - last known username.
    - For convenience, getMap() is provided to get an immutable copy of - the caches underlying map.

    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Methods 
      Modifier and TypeMethod and Description
      static booleancontainsUUID(java.util.UUID uuid) -
      Check if the cache contains the given player's username
      -
      static java.lang.StringgetLastKnownUsername(java.util.UUID uuid) -
      Get the player's last known username
      -
      static java.util.Map<java.util.UUID,java.lang.String>getMap() -
      Get an immutable copy of the cache's underlying map
      -
      protected static voidload() -
      Load the cache from file
      -
      protected static booleanremoveUsername(java.util.UUID uuid) -
      Remove a player's username from the cache
      -
      protected static voidsave() -
      Save the cache to file
      -
      protected static voidsetUsername(java.util.UUID uuid, - java.lang.String username) -
      Set a player's current username
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

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

      Method Detail

      - - - -
        -
      • -

        setUsername

        -
        protected static void setUsername(java.util.UUID uuid,
        -               java.lang.String username)
        -
        Set a player's current username
        -
        Parameters:
        uuid - the player's UUID
        username - the player's username
        -
      • -
      - - - -
        -
      • -

        removeUsername

        -
        protected static boolean removeUsername(java.util.UUID uuid)
        -
        Remove a player's username from the cache
        -
        Parameters:
        uuid - the player's UUID
        -
        Returns:
        if the cache contained the user
        -
      • -
      - - - -
        -
      • -

        getLastKnownUsername

        -
        @Nullable
        -public static java.lang.String getLastKnownUsername(java.util.UUID uuid)
        -
        Get the player's last known username -

        - May be null

        -
        Parameters:
        uuid - the player's UUID
        -
        Returns:
        the player's last known username, or null if the - cache doesn't have a record of the last username
        -
      • -
      - - - -
        -
      • -

        containsUUID

        -
        public static boolean containsUUID(java.util.UUID uuid)
        -
        Check if the cache contains the given player's username
        -
        Parameters:
        uuid - the player's UUID
        -
        Returns:
        if the cache contains a username for the given player
        -
      • -
      - - - -
        -
      • -

        getMap

        -
        public static java.util.Map<java.util.UUID,java.lang.String> getMap()
        -
        Get an immutable copy of the cache's underlying map
        -
        Returns:
        the map
        -
      • -
      - - - -
        -
      • -

        save

        -
        protected static void save()
        -
        Save the cache to file
        -
      • -
      - - - -
        -
      • -

        load

        -
        protected static void load()
        -
        Load the cache from file
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - -
- - - - -- cgit v1.2.3