Interface IMpGameData
Namespace: Discord.Addons.MpGame
Assembly: Discord.Addons.MpGame.dll
Syntax
public interface IMpGameData
Properties
| Improve this Doc View SourceGameChannelId
Id of the public-facing channel of this game.
Declaration
ulong? GameChannelId { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt64> |
GameInProgress
Determines if a game in the current channel is in progress or not.
Declaration
CurrentlyPlaying GameInProgress { get; }
Property Value
Type | Description |
---|---|
CurrentlyPlaying |
JoinedUsers
The list of users ready to play.
Declaration
IReadOnlyCollection<ulong> JoinedUsers { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<UInt64> |
OpenToJoin
Determines if a game in the current channel is open to join or not.
Declaration
bool OpenToJoin { get; }
Property Value
Type | Description |
---|---|
Boolean |
PlayerUserId
Id of the player invoking this command.
Declaration
ulong? PlayerUserId { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt64> |