Class Session


  • public class Session
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Session.Type  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String accessToken  
      private java.lang.String name  
      private com.mojang.authlib.properties.PropertyMap properties
      Forge: Cache of the local session's GameProfile properties.
      private Session.Type type  
      private java.lang.String uuid  
    • Constructor Summary

      Constructors 
      Constructor Description
      Session​(java.lang.String p_i1098_1_, java.lang.String p_i1098_2_, java.lang.String p_i1098_3_, java.lang.String p_i1098_4_)  
    • Field Detail

      • name

        private final java.lang.String name
      • uuid

        private final java.lang.String uuid
      • accessToken

        private final java.lang.String accessToken
      • properties

        private com.mojang.authlib.properties.PropertyMap properties
        Forge: Cache of the local session's GameProfile properties.
    • Constructor Detail

      • Session

        public Session​(java.lang.String p_i1098_1_,
                       java.lang.String p_i1098_2_,
                       java.lang.String p_i1098_3_,
                       java.lang.String p_i1098_4_)
    • Method Detail

      • getSessionId

        public java.lang.String getSessionId()
      • getUuid

        public java.lang.String getUuid()
      • getName

        public java.lang.String getName()
      • getAccessToken

        public java.lang.String getAccessToken()
      • getGameProfile

        public com.mojang.authlib.GameProfile getGameProfile()
      • setProperties

        public void setProperties​(com.mojang.authlib.properties.PropertyMap properties)
      • hasCachedProperties

        public boolean hasCachedProperties()