public class SteamUnifiedMessages extends ClientMsgHandler
This handler is used for interacting with Steamworks unified messaging
client| Constructor and Description |
|---|
SteamUnifiedMessages() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleMsg(IPacketMsg packetMsg)
Handles a client message.
|
<TRequest extends com.google.protobuf.GeneratedMessageV3.Builder<TRequest>> |
sendMessage(java.lang.String rpcName,
com.google.protobuf.GeneratedMessageV3 message)
Sends a message.
|
<TRequest extends com.google.protobuf.GeneratedMessageV3.Builder<TRequest>> |
sendNotification(java.lang.String rpcName,
com.google.protobuf.GeneratedMessageV3 message)
Sends a notification.
|
getClient, isExpectDisconnection, setExpectDisconnection, setuppublic void handleMsg(IPacketMsg packetMsg)
ClientMsgHandlerhandleMsg in class ClientMsgHandlerpacketMsg - The packet message that contains the data.public <TRequest extends com.google.protobuf.GeneratedMessageV3.Builder<TRequest>> in.dragonbra.javasteam.types.AsyncJobSingle<ServiceMethodResponse> sendMessage(java.lang.String rpcName, com.google.protobuf.GeneratedMessageV3 message)
ServiceMethodResponse.TRequest - The type of protobuf object.rpcName - Name of the RPC endpoint. Takes the format ServiceName.RpcNamemessage - The message to send.ServiceMethodResponse.public <TRequest extends com.google.protobuf.GeneratedMessageV3.Builder<TRequest>> void sendNotification(java.lang.String rpcName,
com.google.protobuf.GeneratedMessageV3 message)
TRequest - The type of protobuf object.rpcName - Name of the RPC endpoint. Takes the format ServiceName.RpcNamemessage - The message to send.