Class GameProfile


  • public class GameProfile
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String username  
      java.util.UUID uuid  
    • Constructor Summary

      Constructors 
      Constructor Description
      GameProfile​(java.lang.String username, java.util.UUID uuid)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static GameProfile createOffline​(java.lang.String username)  
      static java.util.UUID createOfflineUuid​(java.lang.String username)  
      static java.util.UUID uuidFromString​(java.lang.String uuid)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • username

        public final java.lang.String username
      • uuid

        public final java.util.UUID uuid
    • Constructor Detail

      • GameProfile

        public GameProfile​(java.lang.String username,
                           java.util.UUID uuid)
    • Method Detail

      • createOffline

        public static GameProfile createOffline​(java.lang.String username)
      • createOfflineUuid

        public static java.util.UUID createOfflineUuid​(java.lang.String username)
      • uuidFromString

        public static java.util.UUID uuidFromString​(java.lang.String uuid)