RichPresenceData

Inherits from Asset

Summary

Constructors

RichPresenceData()
RichPresenceData(guid: Guid)
RichPresenceData(other: Asset)
RichPresenceData(other: DataContainer)

Properties

Name Type
presenceModes RichPresencePresenceString[]
defaultMode RichPresencePresenceString | nil
inactiveMode RichPresencePresenceString | nil
contexts RichPresenceContext[]
properties RichPresenceProperty[]

Static members

Name Type
RichPresenceData.typeInfo TypeInformation

Constructors

RichPresenceData

RichPresenceData()

Creates a new RichPresenceData frostbite instance.

RichPresenceData

RichPresenceData(guid: Guid)

Creates a new RichPresenceData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

RichPresenceData

RichPresenceData(other: Asset)

Casts an instance of type Asset to RichPresenceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to RichPresenceData.

RichPresenceData

RichPresenceData(other: DataContainer)

Casts an instance of type DataContainer to RichPresenceData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to RichPresenceData.

Properties

presenceModes

RichPresencePresenceString[]

defaultMode

RichPresencePresenceString | nil

inactiveMode

RichPresencePresenceString | nil

contexts

RichPresenceContext[]

properties

RichPresenceProperty[]

Static members

typeInfo

TypeInformation

The type information for the RichPresenceData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)