Steam Unified Messages
Author
Lossy
Since
2024-10-22
This handler is used for interacting with Steamworks unified messaging.
Functions
Link copied to clipboard
Creates a service that can be used to send messages and receive notifications via Steamworks unified messaging.
Link copied to clipboard
Handles a client message. This should not be called directly.
Link copied to clipboard
Removes a service so it no longer can be used to send messages or receive notifications.
Link copied to clipboard
fun <TRequest : GeneratedMessage.Builder<TRequest>, TResult : GeneratedMessage.Builder<TResult>> sendMessage(responseClass: Class<out TResult>, name: String, message: GeneratedMessage): AsyncJobSingle<ServiceMethodResponse<TResult>>
Sends a message. Results are returned in a ServiceMethodResponse with type TResult. The returned AsyncJobSingle can also be awaited to retrieve the callback result.
Link copied to clipboard
fun <TRequest : GeneratedMessage.Builder<TRequest>> sendNotification(name: String, message: GeneratedMessage)
Sends a notification.
Link copied to clipboard