|
|
@@ -14,6 +14,8 @@ namespace Discord |
|
|
|
public ActivityType Type { get; internal set; } |
|
|
|
/// <inheritdoc/> |
|
|
|
public ActivityProperties Flags { get; internal set; } |
|
|
|
/// <inheritdoc/> |
|
|
|
public string Details { get; internal set; } |
|
|
|
|
|
|
|
internal Game() { } |
|
|
|
/// <summary> |
|
|
@@ -21,10 +23,12 @@ namespace Discord |
|
|
|
/// </summary> |
|
|
|
/// <param name="name">The name of the game.</param> |
|
|
|
/// <param name="type">The type of activity.</param> |
|
|
|
public Game(string name, ActivityType type = ActivityType.Playing) |
|
|
|
public Game(string name, ActivityType type = ActivityType.Playing, ActivityProperties flags = ActivityProperties.None, string details = null) |
|
|
|
{ |
|
|
|
Name = name; |
|
|
|
Type = type; |
|
|
|
Flags = flags; |
|
|
|
Details = details; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> Returns the name of the <see cref="Game"/>. </summary> |
|
|
|