|
28 | 28 | * @since 5.0.0 Renamed from Game to Activity |
29 | 29 | * @since 3.2.2 |
30 | 30 | * |
31 | | - * @property string $name The activity's name. |
32 | | - * @property int $type Activity type. |
33 | | - * @property ?string|null $url Stream url, is validated when type is 1. |
34 | | - * @property Carbon|null $created_at Timestamp of when the activity was added to the user's session. |
35 | | - * @property Timestamps|null $timestamps Unix timestamps for start and/or end of the game. |
36 | | - * @property string|null $application_id Application id for the game. |
37 | | - * @property ?int|null $status_display_type Status display type; controls which field is displayed in the user's status text in the member list. |
38 | | - * @property ?string|null $details What the player is currently doing. |
39 | | - * @property ?string|null $details_url URL that is linked when clicking on the details text |
40 | | - * @property ?string|null $state The user's current party status, or text used for a custom status. |
41 | | - * @property ?string|null $state_url URL that is linked when clicking on the state text. |
42 | | - * @property Emoji|null $emoji The emoji used for a custom status. |
43 | | - * @property Party|null $party Information for the current party of the player. |
44 | | - * @property Assets|null $assets Images for the presence and their hover texts. |
45 | | - * @property Secrets|null $secrets Secrets for Rich Presence joining and spectating. |
46 | | - * @property bool|null $instance Whether or not the activity is an instanced game session. |
47 | | - * @property int|null $flags Activity flags `OR`d together, describes what the payload includes. |
48 | | - * @property ExCollectionInterface<Button>|Button[]|null $buttons The custom buttons shown in the Rich Presence (max 2). |
| 31 | + * @property string $name The activity's name. |
| 32 | + * @property int $type Activity type. |
| 33 | + * @property ?string|null $url Stream url, is validated when type is 1. |
| 34 | + * @property Carbon|null $created_at Timestamp of when the activity was added to the user's session. |
| 35 | + * @property ?Timestamps|null $timestamps Unix timestamps for start and/or end of the game. |
| 36 | + * @property ?string|null $application_id Application id for the game. |
| 37 | + * @property ?int|null $status_display_type Status display type; controls which field is displayed in the user's status text in the member list. |
| 38 | + * @property ?string|null $details What the player is currently doing. |
| 39 | + * @property ?string|null $details_url URL that is linked when clicking on the details text |
| 40 | + * @property ?string|null $state The user's current party status, or text used for a custom status. |
| 41 | + * @property ?string|null $state_url URL that is linked when clicking on the state text. |
| 42 | + * @property ?Emoji|null $emoji The emoji used for a custom status. |
| 43 | + * @property ?Party|null $party Information for the current party of the player. |
| 44 | + * @property ?Assets|null $assets Images for the presence and their hover texts. |
| 45 | + * @property ?Secrets|null $secrets Secrets for Rich Presence joining and spectating. |
| 46 | + * @property ?bool|null $instance Whether or not the activity is an instanced game session. |
| 47 | + * @property ?int|null $flags Activity flags `OR`d together, describes what the payload includes. |
| 48 | + * @property ?ExCollectionInterface<Button>|Button[]|null $buttons The custom buttons shown in the Rich Presence (max 2). |
49 | 49 | */ |
50 | 50 | class Activity extends Part implements Stringable |
51 | 51 | { |
|
0 commit comments