RichPresenceContext

Inherits from DataContainer

Summary

Constructors

RichPresenceContext()
RichPresenceContext(guid: Guid)
RichPresenceContext(other: DataContainer)

Properties

Name Type
name string
values RichPresenceContextValue[]
defaultValue RichPresenceContextValue | nil
index int

Static members

Name Type
RichPresenceContext.typeInfo TypeInformation

Constructors

RichPresenceContext

RichPresenceContext()

Creates a new RichPresenceContext frostbite instance.

RichPresenceContext

RichPresenceContext(guid: Guid)

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

Parameters

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

RichPresenceContext

RichPresenceContext(other: DataContainer)

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

Parameters

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

Properties

name

string

values

RichPresenceContextValue[]

defaultValue

RichPresenceContextValue | nil

index

int

Static members

typeInfo

TypeInformation

The type information for the RichPresenceContext type.

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