public class SteamUser extends ClientMsgHandler
client| Constructor and Description |
|---|
SteamUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptNewLoginKey(LoginKeyCallback callback)
Deprecated.
"Steam no longer sends new login keys as of March 2023, use SteamAuthentication."
|
SteamID |
getSteamID() |
void |
handleMsg(IPacketMsg packetMsg)
Handles a client message.
|
void |
logOff()
Informs the Steam servers that this client wishes to log off from the network.
|
void |
logOn(LogOnDetails details)
Logs the client into the Steam3 network.
|
void |
logOnAnonymous()
Logs the client into the Steam3 network as an anonymous user.
|
void |
logOnAnonymous(AnonymousLogOnDetails details)
Logs the client into the Steam3 network as an anonymous user.
|
in.dragonbra.javasteam.types.AsyncJobSingle<WebAPIUserNonceCallback> |
requestWebAPIUserNonce()
Requests a new WebAPI authentication user nonce.
|
void |
sendMachineAuthResponse(MachineAuthDetails details)
Sends a machine auth response.
|
getClient, isExpectDisconnection, setExpectDisconnection, setuppublic void logOn(LogOnDetails details)
LoggedOnCallback.details - The details to use for logging on.public void logOnAnonymous()
LoggedOnCallback.public void logOnAnonymous(AnonymousLogOnDetails details)
LoggedOnCallback.details - The details to use for logging on.public void logOff()
DisconnectedCallback will be posted.public void sendMachineAuthResponse(MachineAuthDetails details)
UpdateMachineAuthCallback.details - The details pertaining to the response.public in.dragonbra.javasteam.types.AsyncJobSingle<WebAPIUserNonceCallback> requestWebAPIUserNonce()
WebAPIUserNonceCallback.
The returned AsyncJobSingle can also be awaited to retrieve the callback result.WebAPIUserNonceCallback.@Deprecated public void acceptNewLoginKey(LoginKeyCallback callback)
LoginKeyCallback.callback - The callback containing the new Login Key.public void handleMsg(IPacketMsg packetMsg)
ClientMsgHandlerhandleMsg in class ClientMsgHandlerpacketMsg - The packet message that contains the data.public SteamID getSteamID()