Class LoggedOnCallback

  • All Implemented Interfaces:
    ICallbackMsg

    public class LoggedOnCallback
    extends CallbackMsg
    This callback is returned in response to an attempt to log on to the Steam3 network through SteamUser.
    • Constructor Detail

      • LoggedOnCallback

        public LoggedOnCallback​(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverLogin.CMsgClientLogonResponse.Builder resp)
      • LoggedOnCallback

        public LoggedOnCallback​(EResult result)
    • Method Detail

      • getResult

        public EResult getResult()
        Returns:
        the result of the logon as EResult.
      • getExtendedResult

        public EResult getExtendedResult()
        Returns:
        the extended result of the logon as EResult.
      • getOutOfGameSecsPerHeartbeat

        public int getOutOfGameSecsPerHeartbeat()
        Returns:
        the out of game secs per heartbeat value. This is used internally to initialize heartbeating.
      • getInGameSecsPerHeartbeat

        public int getInGameSecsPerHeartbeat()
        Returns:
        the in game secs per heartbeat value. This is used internally to initialize heartbeating.
      • getPublicIP

        public java.net.InetAddress getPublicIP()
        Returns:
        the public IP of the client.
      • getServerTime

        public java.util.Date getServerTime()
        Returns:
        the Steam3 server time.
      • getAccountFlags

        public java.util.EnumSet<EAccountFlags> getAccountFlags()
        Returns:
        the account flags assigned by the server. See EAccountFlags.
      • getClientSteamID

        public SteamID getClientSteamID()
        Returns:
        the client steam ID as SteamID
      • getEmailDomain

        public java.lang.String getEmailDomain()
        Returns:
        the email domain.
      • getCellID

        public int getCellID()
        Returns:
        the Steam2 CellID.
      • getCellIDPingThreshold

        public int getCellIDPingThreshold()
        Returns:
        the Steam2 CellID ping threshold.
      • getSteam2Ticket

        public byte[] getSteam2Ticket()
        Returns:
        the Steam2 ticket. This is used for authenticated content downloads in Steam2. This field will only be set when LogOnDetails.isRequestSteam2Ticket() has been set to true.
      • getWebAPIUserNonce

        public java.lang.String getWebAPIUserNonce()
        Returns:
        the WebAPI authentication user nonce.
      • getIpCountryCode

        public java.lang.String getIpCountryCode()
        Returns:
        the IP country code.
      • getVanityURL

        public java.lang.String getVanityURL()
        Returns:
        the vanity URL.
      • getNumLoginFailuresToMigrate

        public int getNumLoginFailuresToMigrate()
        Returns:
        the threshold for login failures before Steam wants the client to migrate to a new CM.
      • getNumDisconnectsToMigrate

        public int getNumDisconnectsToMigrate()
        Returns:
        the threshold for disconnects before Steam wants the client to migrate to a new CM.
      • getParentalSettings

        public in.dragonbra.javasteam.protobufs.steamclient.SteammessagesParentalSteamclient.ParentalSettings getParentalSettings()
        Returns:
        the Steam parental settings.