Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Latest commit

 

History

History

rich_presence

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

SteamRichPresence

This is a handler for sending and receiving Rich Presence messages. Initialize it by passing a SteamClient instance and an AppID to the constructor.

var steamRichPresence = new Steam.SteamRichPresence(steamClient, 570);

Methods

upload(body)

Uploads rich presence for the AppID this SteamRichPresence instance was initialized with. body is a CMsgClientRichPresenceUpload object.

request(body)

Requests rich presence for the AppID this SteamRichPresence instance was initialized with. body is a CMsgClientRichPresenceRequest object.

Events

'info'

Rich presence info was received for the AppID this SteamRichPresence instance was initialized with.