Class LoggedOnCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamuser.callback.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 throughSteamUser.
-
-
Constructor Summary
Constructors Constructor Description LoggedOnCallback(EResult result)LoggedOnCallback(MsgClientLogOnResponse resp)LoggedOnCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverLogin.CMsgClientLogonResponse.Builder resp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.EnumSet<EAccountFlags>getAccountFlags()intgetCellID()intgetCellIDPingThreshold()SteamIDgetClientSteamID()java.lang.StringgetEmailDomain()EResultgetExtendedResult()intgetInGameSecsPerHeartbeat()java.lang.StringgetIpCountryCode()intgetNumDisconnectsToMigrate()intgetNumLoginFailuresToMigrate()intgetOutOfGameSecsPerHeartbeat()in.dragonbra.javasteam.protobufs.steamclient.SteammessagesParentalSteamclient.ParentalSettingsgetParentalSettings()java.net.InetAddressgetPublicIP()EResultgetResult()java.util.DategetServerTime()byte[]getSteam2Ticket()java.lang.StringgetVanityURL()java.lang.StringgetWebAPIUserNonce()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Constructor Detail
-
LoggedOnCallback
public LoggedOnCallback(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverLogin.CMsgClientLogonResponse.Builder resp)
-
LoggedOnCallback
public LoggedOnCallback(MsgClientLogOnResponse resp)
-
LoggedOnCallback
public LoggedOnCallback(EResult result)
-
-
Method Detail
-
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.
-
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.
-
-