|
@@ -2,14 +2,30 @@ using System; |
|
|
|
|
|
|
|
|
namespace Discord |
|
|
namespace Discord |
|
|
{ |
|
|
{ |
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Flags for the <see cref="IActivity.Flags"/> property, that are ORd together. |
|
|
|
|
|
/// These describe what the activity payload includes. |
|
|
|
|
|
/// </summary> |
|
|
[Flags] |
|
|
[Flags] |
|
|
public enum ActivityFlag |
|
|
public enum ActivityFlag |
|
|
{ |
|
|
{ |
|
|
Instance = 1, |
|
|
Instance = 1, |
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Indicates that this activity can be joined. |
|
|
|
|
|
/// </summary> |
|
|
Join = 0b10, |
|
|
Join = 0b10, |
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Indicates that this activity can be spectated. |
|
|
|
|
|
/// </summary> |
|
|
Spectate = 0b100, |
|
|
Spectate = 0b100, |
|
|
JoinRequest = 0b1000, |
|
|
JoinRequest = 0b1000, |
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Indicates that a user can listen along in Spotify. |
|
|
|
|
|
/// </summary> |
|
|
Sync = 0b10000, |
|
|
Sync = 0b10000, |
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Indicates that a user can play this song. |
|
|
|
|
|
/// </summary> |
|
|
Play = 0b100000 |
|
|
Play = 0b100000 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |