public class SteamNetworking extends ClientMsgHandler
client| Constructor and Description |
|---|
SteamNetworking() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMsg(IPacketMsg packetMsg)
Handles a client message.
|
in.dragonbra.javasteam.types.AsyncJobSingle<NetworkingCertificateCallback> |
requestNetworkingCertificate(int appId,
byte[] publicKey)
Request a signed networking certificate from Steam for your Ed25519 public key for the given app id.
|
getClient, isExpectDisconnection, setExpectDisconnection, setuppublic in.dragonbra.javasteam.types.AsyncJobSingle<NetworkingCertificateCallback> requestNetworkingCertificate(int appId, byte[] publicKey)
NetworkingCertificateCallback.
The returned AsyncJobSingle can also be awaited to retrieve the callback result.appId - The App ID the certificate will be generated for.publicKey - Your Ed25519 public key.NetworkingCertificateCallback.public void handleMsg(IPacketMsg packetMsg)
handleMsg in class ClientMsgHandlerpacketMsg - The packet message that contains the data.