Represents rich presence information for Discord integration.

Constructor

new()

Creates a new instance.

Variables

buttons:RawPointer<DiscordButton>

Buttons of the rich presence (max 2 elements).

details:ConstCharStar

Details of the rich presence (max 128 bytes).

endTimestamp:Int64

End timestamp of the rich presence.

instance:Bool

Whether this is an instance of the rich presence.

joinSecret:ConstCharStar

Secret for joining (max 128 bytes).

largeImageKey:ConstCharStar

Key for the large image asset (max 32 bytes).

largeImageText:ConstCharStar

Text shown when hovering over the large image (max 128 bytes).

matchSecret:ConstCharStar

Secret for matching (max 128 bytes).

partyId:ConstCharStar

ID of the party (max 128 bytes).

partyMax:Int

Maximum size of the party.

partyPrivacy:DiscordActivityPartyPrivacy

Privacy setting for the party.

partySize:Int

Current size of the party.

smallImageKey:ConstCharStar

Key for the small image asset (max 32 bytes).

smallImageText:ConstCharStar

Text shown when hovering over the small image (max 128 bytes).

spectateSecret:ConstCharStar

Secret for spectating (max 128 bytes).

startTimestamp:Int64

Start timestamp of the rich presence.

state:ConstCharStar

State of the rich presence (max 128 bytes).

type:DiscordActivityType

Type of activity of the rich presence.