共用方式為


RichPresenceRequest (JSON)

Request for information about which rich presence information should be used.

RichPresenceRequest

The RichPresenceRequest object has the following specification.

Member Type Description
id string The friendlyName of the rich presence string to use.
scid string Scid that tells us where the rich presence strings are defined.
params array of string Array of friendlyName strings with which to finish the rich presence string. Only enumeration-friendly names should be specified, not stats. Leaving this empty will remove any previous value.

Sample JSON syntax

{
      id:"playingMapWeapon",
      scid:"abba0123-08ba-48ca-9f1a-21627b189b0f",
    }
    

See also

Parent

JavaScript Object Notation (JSON) Object Reference