mirror of
https://github.com/EnderIce2/SDR-RPC.git
synced 2025-07-12 06:49:13 +00:00
First commit
This commit is contained in:
24
DiscordAPI/Message/ConnectionFailedMessage.cs
Normal file
24
DiscordAPI/Message/ConnectionFailedMessage.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace DiscordRPC.Message
|
||||
{
|
||||
/// <summary>
|
||||
/// Failed to establish any connection with discord. Discord is potentially not running?
|
||||
/// </summary>
|
||||
public class ConnectionFailedMessage : IMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// The type of message received from discord
|
||||
/// </summary>
|
||||
public override MessageType Type { get { return MessageType.ConnectionFailed; } }
|
||||
|
||||
/// <summary>
|
||||
/// The pipe we failed to connect too.
|
||||
/// </summary>
|
||||
public int FailedPipe { get; internal set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user