Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 1.01 KB

README.md

File metadata and controls

24 lines (14 loc) · 1.01 KB

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.