From 5a7e89184d85f9011dc15a9fdb8c97cb529874d5 Mon Sep 17 00:00:00 2001 From: Aragas Date: Sun, 30 Jun 2024 13:50:21 +0000 Subject: [PATCH] deploy: f47e2e407ddfac9f9a1a2667876651d7c583c57d --- api/DiscordRPC.Assets.html | 40 +++-- api/DiscordRPC.BaseRichPresence.html | 20 +-- api/DiscordRPC.Button.html | 12 +- api/DiscordRPC.Configuration.html | 18 +-- api/DiscordRPC.DiscordRpcClient.html | 56 +++---- api/DiscordRPC.Events.OnCloseEvent.html | 2 +- ...C.Events.OnConnectionEstablishedEvent.html | 2 +- ...ordRPC.Events.OnConnectionFailedEvent.html | 2 +- api/DiscordRPC.Events.OnErrorEvent.html | 2 +- api/DiscordRPC.Events.OnJoinEvent.html | 2 +- ...iscordRPC.Events.OnJoinRequestedEvent.html | 2 +- ...scordRPC.Events.OnPresenceUpdateEvent.html | 2 +- api/DiscordRPC.Events.OnReadyEvent.html | 2 +- api/DiscordRPC.Events.OnRpcMessageEvent.html | 2 +- api/DiscordRPC.Events.OnSpectateEvent.html | 2 +- api/DiscordRPC.Events.OnSubscribeEvent.html | 2 +- api/DiscordRPC.Events.OnUnsubscribeEvent.html | 2 +- ...rdRPC.Exceptions.BadPresenceException.html | 2 +- ...eptions.InvalidConfigurationException.html | 2 +- ...rdRPC.Exceptions.InvalidPipeException.html | 2 +- ....Exceptions.StringOutOfRangeException.html | 6 +- ...RPC.Exceptions.UninitializedException.html | 2 +- api/DiscordRPC.Helper.StringTools.html | 26 +-- api/DiscordRPC.IO.INamedPipeClient.html | 12 +- api/DiscordRPC.IO.ManagedNamedPipeClient.html | 46 +++--- api/DiscordRPC.IO.PipeFrame.html | 18 +-- api/DiscordRPC.Logging.ConsoleLogger.html | 24 +-- api/DiscordRPC.Logging.FileLogger.html | 24 +-- api/DiscordRPC.Logging.ILogger.html | 16 +- api/DiscordRPC.Logging.NullLogger.html | 18 +-- api/DiscordRPC.Message.CloseMessage.html | 6 +- ....Message.ConnectionEstablishedMessage.html | 4 +- ...rdRPC.Message.ConnectionFailedMessage.html | 4 +- api/DiscordRPC.Message.ErrorMessage.html | 4 +- api/DiscordRPC.Message.IMessage.html | 2 +- api/DiscordRPC.Message.JoinMessage.html | 4 +- ...DiscordRPC.Message.JoinRequestMessage.html | 2 +- api/DiscordRPC.Message.PresenceMessage.html | 6 +- api/DiscordRPC.Message.ReadyMessage.html | 4 +- api/DiscordRPC.Message.SpectateMessage.html | 2 +- api/DiscordRPC.Message.SubscribeMessage.html | 2 +- ...DiscordRPC.Message.UnsubscribeMessage.html | 2 +- api/DiscordRPC.Party.PrivacySetting.html | 2 +- api/DiscordRPC.Party.html | 18 +-- api/DiscordRPC.RichPresence.html | 32 ++-- api/DiscordRPC.Secrets.html | 14 +- api/DiscordRPC.Timestamps.html | 42 ++--- api/DiscordRPC.User.Flag.html | 2 +- api/DiscordRPC.User.PremiumType.html | 2 +- api/DiscordRPC.User.html | 81 +++++++--- index.html | 18 +++ index.json | 96 +++++------ manifest.json | 102 ++++++------ sitemap.xml | 150 +++++++++--------- xrefmap.yml | 39 +++-- 55 files changed, 542 insertions(+), 466 deletions(-) diff --git a/api/DiscordRPC.Assets.html b/api/DiscordRPC.Assets.html index 10843233..8b11b2a2 100644 --- a/api/DiscordRPC.Assets.html +++ b/api/DiscordRPC.Assets.html @@ -87,7 +87,7 @@

Class
Inheritance
- +
System.Object
Assets

Namespace: DiscordRPC
@@ -103,7 +103,7 @@

Properties Improve this Doc - View Source + View Source

IsLargeImageKeyExternal

@@ -124,7 +124,7 @@
Property Value
- Boolean + System.Boolean @@ -134,7 +134,7 @@
Property Value
Improve this Doc - View Source + View Source

IsSmallImageKeyExternal

@@ -155,7 +155,7 @@
Property Value
- Boolean + System.Boolean @@ -165,7 +165,7 @@
Property Value
Improve this Doc - View Source + View Source

LargeImageID

@@ -186,7 +186,7 @@
Property Value
- Nullable<UInt64> + System.Nullable<System.UInt64> @@ -196,7 +196,7 @@
Property Value
Improve this Doc - View Source + View Source

LargeImageKey

@@ -218,17 +218,20 @@
Property Value
- String + System.String +
Remarks
+

Allows URL to directly link to images.

+
| Improve this Doc - View Source + View Source

LargeImageText

@@ -250,7 +253,7 @@
Property Value
- String + System.String @@ -260,7 +263,7 @@
Property Value
Improve this Doc - View Source + View Source

SmallImageID

@@ -281,7 +284,7 @@
Property Value
- Nullable<UInt64> + System.Nullable<System.UInt64> @@ -291,7 +294,7 @@
Property Value
Improve this Doc - View Source + View Source

SmallImageKey

@@ -313,17 +316,20 @@
Property Value
- String + System.String +
Remarks
+

Allows URL to directly link to images.

+
| Improve this Doc - View Source + View Source

SmallImageText

@@ -345,7 +351,7 @@
Property Value
- String + System.String diff --git a/api/DiscordRPC.BaseRichPresence.html b/api/DiscordRPC.BaseRichPresence.html index 156d3afe..fc8eb4ea 100644 --- a/api/DiscordRPC.BaseRichPresence.html +++ b/api/DiscordRPC.BaseRichPresence.html @@ -87,7 +87,7 @@

Inheritance
- +
System.Object
BaseRichPresence
@@ -124,7 +124,7 @@

Field Value
- String + System.String @@ -154,7 +154,7 @@
Field Value
- String + System.String @@ -219,7 +219,7 @@
Property Value
- String + System.String @@ -315,7 +315,7 @@
Property Value
- String + System.String @@ -379,7 +379,7 @@
Returns
- Boolean + System.Boolean @@ -410,7 +410,7 @@
Returns
- Boolean + System.Boolean @@ -441,7 +441,7 @@
Returns
- Boolean + System.Boolean @@ -472,7 +472,7 @@
Returns
- Boolean + System.Boolean @@ -553,7 +553,7 @@
Returns
- Boolean + System.Boolean diff --git a/api/DiscordRPC.Button.html b/api/DiscordRPC.Button.html index 22e8b999..991986f3 100644 --- a/api/DiscordRPC.Button.html +++ b/api/DiscordRPC.Button.html @@ -87,7 +87,7 @@

Class
Inheritance
- +
System.Object
Button

Namespace: DiscordRPC
@@ -103,7 +103,7 @@

Properties Improve this Doc - View Source + View Source

Label

@@ -125,7 +125,7 @@
Property Value
- String + System.String @@ -135,7 +135,7 @@
Property Value
Improve this Doc - View Source + View Source

Url

@@ -157,7 +157,7 @@
Property Value
- String + System.String @@ -173,7 +173,7 @@
Property Value
Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.Configuration.html b/api/DiscordRPC.Configuration.html index d69afd67..8c1a107b 100644 --- a/api/DiscordRPC.Configuration.html +++ b/api/DiscordRPC.Configuration.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    Configuration

    Namespace: DiscordRPC
    @@ -124,7 +124,7 @@
    Property Value
    - String + System.String @@ -155,26 +155,26 @@
    Property Value
    - String + System.String | - Improve this Doc + Improve this Doc View Source - -

    Enviroment

    -

    The type of enviroment the connection on. Usually Production.

    + +

    Environment

    +

    The type of environment the connection on. Usually Production.

    Declaration
    -
    public string Enviroment { get; set; }
    +
    public string Environment { get; set; }
    Property Value
    @@ -186,7 +186,7 @@
    Property Value
    - + diff --git a/api/DiscordRPC.DiscordRpcClient.html b/api/DiscordRPC.DiscordRpcClient.html index 4f00aa8b..86bfe16c 100644 --- a/api/DiscordRPC.DiscordRpcClient.html +++ b/api/DiscordRPC.DiscordRpcClient.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    DiscordRpcClient

    Namespace: DiscordRPC
    @@ -125,7 +125,7 @@
    Parameters
    - + @@ -159,13 +159,13 @@
    Parameters
    - + - + @@ -177,7 +177,7 @@
    Parameters
    - + @@ -218,7 +218,7 @@
    Property Value
    - + @@ -249,7 +249,7 @@
    Property Value
    - + @@ -374,7 +374,7 @@
    Property Value
    - + @@ -405,7 +405,7 @@
    Property Value
    - + @@ -436,7 +436,7 @@
    Property Value
    - + @@ -498,7 +498,7 @@
    Property Value
    - + @@ -529,7 +529,7 @@
    Property Value
    - + @@ -561,7 +561,7 @@
    Property Value
    - + @@ -592,7 +592,7 @@
    Property Value
    - + @@ -623,7 +623,7 @@
    Property Value
    - + @@ -686,7 +686,7 @@
    Property Value
    - + @@ -767,7 +767,7 @@
    Returns
    - + @@ -839,7 +839,7 @@
    Parameters
    - + @@ -879,7 +879,7 @@
    Parameters
    - + @@ -1198,7 +1198,7 @@
    Parameters
    - + @@ -1330,13 +1330,13 @@
    Parameters
    - + - + @@ -1437,7 +1437,7 @@
    Parameters
    - + @@ -1488,13 +1488,13 @@
    Parameters
    - + - + @@ -1594,13 +1594,13 @@
    Parameters
    - + - + @@ -1732,7 +1732,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnCloseEvent.html b/api/DiscordRPC.Events.OnCloseEvent.html index a1ab85b7..788ba5e9 100644 --- a/api/DiscordRPC.Events.OnCloseEvent.html +++ b/api/DiscordRPC.Events.OnCloseEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnConnectionEstablishedEvent.html b/api/DiscordRPC.Events.OnConnectionEstablishedEvent.html index f79e30e6..4d4bc291 100644 --- a/api/DiscordRPC.Events.OnConnectionEstablishedEvent.html +++ b/api/DiscordRPC.Events.OnConnectionEstablishedEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnConnectionFailedEvent.html b/api/DiscordRPC.Events.OnConnectionFailedEvent.html index 366bdc14..e8ea9aac 100644 --- a/api/DiscordRPC.Events.OnConnectionFailedEvent.html +++ b/api/DiscordRPC.Events.OnConnectionFailedEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnErrorEvent.html b/api/DiscordRPC.Events.OnErrorEvent.html index 5fb8f482..794ca3f8 100644 --- a/api/DiscordRPC.Events.OnErrorEvent.html +++ b/api/DiscordRPC.Events.OnErrorEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnJoinEvent.html b/api/DiscordRPC.Events.OnJoinEvent.html index 8d71a74d..828f1c05 100644 --- a/api/DiscordRPC.Events.OnJoinEvent.html +++ b/api/DiscordRPC.Events.OnJoinEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnJoinRequestedEvent.html b/api/DiscordRPC.Events.OnJoinRequestedEvent.html index ff398e3c..108759a4 100644 --- a/api/DiscordRPC.Events.OnJoinRequestedEvent.html +++ b/api/DiscordRPC.Events.OnJoinRequestedEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnPresenceUpdateEvent.html b/api/DiscordRPC.Events.OnPresenceUpdateEvent.html index 4c0ca08b..a4c1a647 100644 --- a/api/DiscordRPC.Events.OnPresenceUpdateEvent.html +++ b/api/DiscordRPC.Events.OnPresenceUpdateEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnReadyEvent.html b/api/DiscordRPC.Events.OnReadyEvent.html index e8753db5..cc4d643d 100644 --- a/api/DiscordRPC.Events.OnReadyEvent.html +++ b/api/DiscordRPC.Events.OnReadyEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnRpcMessageEvent.html b/api/DiscordRPC.Events.OnRpcMessageEvent.html index 493ff93c..add7a369 100644 --- a/api/DiscordRPC.Events.OnRpcMessageEvent.html +++ b/api/DiscordRPC.Events.OnRpcMessageEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnSpectateEvent.html b/api/DiscordRPC.Events.OnSpectateEvent.html index 78b4b0d1..78120eca 100644 --- a/api/DiscordRPC.Events.OnSpectateEvent.html +++ b/api/DiscordRPC.Events.OnSpectateEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnSubscribeEvent.html b/api/DiscordRPC.Events.OnSubscribeEvent.html index 94911f9d..da355ce3 100644 --- a/api/DiscordRPC.Events.OnSubscribeEvent.html +++ b/api/DiscordRPC.Events.OnSubscribeEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Events.OnUnsubscribeEvent.html b/api/DiscordRPC.Events.OnUnsubscribeEvent.html index c0470bae..bc730f46 100644 --- a/api/DiscordRPC.Events.OnUnsubscribeEvent.html +++ b/api/DiscordRPC.Events.OnUnsubscribeEvent.html @@ -102,7 +102,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Exceptions.BadPresenceException.html b/api/DiscordRPC.Exceptions.BadPresenceException.html index 988b7ba1..29f19442 100644 --- a/api/DiscordRPC.Exceptions.BadPresenceException.html +++ b/api/DiscordRPC.Exceptions.BadPresenceException.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    BadPresenceException

    Namespace: DiscordRPC.Exceptions
    diff --git a/api/DiscordRPC.Exceptions.InvalidConfigurationException.html b/api/DiscordRPC.Exceptions.InvalidConfigurationException.html index f8cafdf0..07defc76 100644 --- a/api/DiscordRPC.Exceptions.InvalidConfigurationException.html +++ b/api/DiscordRPC.Exceptions.InvalidConfigurationException.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    InvalidConfigurationException

    Namespace: DiscordRPC.Exceptions
    diff --git a/api/DiscordRPC.Exceptions.InvalidPipeException.html b/api/DiscordRPC.Exceptions.InvalidPipeException.html index 9010c34b..d0f3870a 100644 --- a/api/DiscordRPC.Exceptions.InvalidPipeException.html +++ b/api/DiscordRPC.Exceptions.InvalidPipeException.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    InvalidPipeException

    Namespace: DiscordRPC.Exceptions
    diff --git a/api/DiscordRPC.Exceptions.StringOutOfRangeException.html b/api/DiscordRPC.Exceptions.StringOutOfRangeException.html index 7030d570..ba59f0d9 100644 --- a/api/DiscordRPC.Exceptions.StringOutOfRangeException.html +++ b/api/DiscordRPC.Exceptions.StringOutOfRangeException.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    StringOutOfRangeException

    Namespace: DiscordRPC.Exceptions
    @@ -124,7 +124,7 @@
    Property Value
    - + @@ -155,7 +155,7 @@
    Property Value
    - + diff --git a/api/DiscordRPC.Exceptions.UninitializedException.html b/api/DiscordRPC.Exceptions.UninitializedException.html index c7f65214..ec5f38c5 100644 --- a/api/DiscordRPC.Exceptions.UninitializedException.html +++ b/api/DiscordRPC.Exceptions.UninitializedException.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    UninitializedException

    Namespace: DiscordRPC.Exceptions
    diff --git a/api/DiscordRPC.Helper.StringTools.html b/api/DiscordRPC.Helper.StringTools.html index 3473deb6..ebd48170 100644 --- a/api/DiscordRPC.Helper.StringTools.html +++ b/api/DiscordRPC.Helper.StringTools.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    StringTools

    Namespace: DiscordRPC.Helper
    @@ -125,7 +125,7 @@
    Parameters
    - + @@ -142,7 +142,7 @@
    Returns
    - + @@ -175,7 +175,7 @@
    Parameters
    - + @@ -192,7 +192,7 @@
    Returns
    - + @@ -224,7 +224,7 @@
    Parameters
    - + @@ -241,7 +241,7 @@
    Returns
    - + @@ -273,13 +273,13 @@
    Parameters
    - + - + @@ -296,7 +296,7 @@
    Returns
    - + @@ -329,13 +329,13 @@
    Parameters
    - + - + @@ -358,7 +358,7 @@
    Returns
    - + diff --git a/api/DiscordRPC.IO.INamedPipeClient.html b/api/DiscordRPC.IO.INamedPipeClient.html index fd75b58d..65ade6a6 100644 --- a/api/DiscordRPC.IO.INamedPipeClient.html +++ b/api/DiscordRPC.IO.INamedPipeClient.html @@ -119,7 +119,7 @@
    Property Value
    - + @@ -150,7 +150,7 @@
    Property Value
    - + @@ -231,7 +231,7 @@
    Parameters
    - + @@ -248,7 +248,7 @@
    Returns
    - + @@ -297,7 +297,7 @@
    Returns
    - + @@ -347,7 +347,7 @@
    Returns
    - + diff --git a/api/DiscordRPC.IO.ManagedNamedPipeClient.html b/api/DiscordRPC.IO.ManagedNamedPipeClient.html index 397de28e..e96ac524 100644 --- a/api/DiscordRPC.IO.ManagedNamedPipeClient.html +++ b/api/DiscordRPC.IO.ManagedNamedPipeClient.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    ManagedNamedPipeClient
    @@ -147,7 +147,7 @@
    Property Value

    - + @@ -178,7 +178,7 @@
    Property Value
    - + @@ -221,7 +221,7 @@

    Methods Improve this Doc - View Source + View Source

    Close()

    @@ -259,7 +259,7 @@
    Parameters
    - + @@ -275,7 +275,7 @@
    Returns
    - + @@ -285,7 +285,7 @@
    Returns
    Improve this Doc - View Source + View Source

    Dispose()

    @@ -301,7 +301,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    GetPipeName(Int32)

    @@ -323,7 +323,7 @@
    Parameters
    - + @@ -340,7 +340,7 @@
    Returns
    - + @@ -350,7 +350,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetPipeName(Int32, String)

    @@ -372,13 +372,13 @@
    Parameters
    - + - + @@ -395,7 +395,7 @@
    Returns
    - + @@ -405,11 +405,11 @@
    Returns
    Improve this Doc - View Source + View Source

    GetPipeSandbox()

    -

    Gets the name of the possible sandbox enviroment the pipe might be located within. If the platform doesn't support sandboxed Discord, then it will return null.

    +

    Gets the name of the possible sandbox environment the pipe might be located within. If the platform doesn't support sandboxed Discord, then it will return null.

    Declaration
    @@ -426,7 +426,7 @@
    Returns
    - + @@ -436,7 +436,7 @@
    Returns
    Improve this Doc - View Source + View Source

    IsUnix()

    @@ -457,7 +457,7 @@
    Returns
    - + @@ -467,7 +467,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ReadFrame(out PipeFrame)

    @@ -505,7 +505,7 @@
    Returns
    - + @@ -515,7 +515,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WriteFrame(PipeFrame)

    @@ -553,7 +553,7 @@
    Returns
    - + diff --git a/api/DiscordRPC.IO.PipeFrame.html b/api/DiscordRPC.IO.PipeFrame.html index d6196810..2de201ee 100644 --- a/api/DiscordRPC.IO.PipeFrame.html +++ b/api/DiscordRPC.IO.PipeFrame.html @@ -130,7 +130,7 @@
    Parameters
    - + @@ -164,7 +164,7 @@
    Field Value
    - + @@ -197,7 +197,7 @@
    Property Value
    - + @@ -228,7 +228,7 @@
    Property Value
    - + @@ -259,7 +259,7 @@
    Property Value
    - + @@ -371,7 +371,7 @@
    Returns
    - + @@ -466,7 +466,7 @@
    Returns
    - + @@ -503,7 +503,7 @@
    Parameters
    - + @@ -536,7 +536,7 @@
    Parameters
    - + diff --git a/api/DiscordRPC.Logging.ConsoleLogger.html b/api/DiscordRPC.Logging.ConsoleLogger.html index f17d2a47..80cd365b 100644 --- a/api/DiscordRPC.Logging.ConsoleLogger.html +++ b/api/DiscordRPC.Logging.ConsoleLogger.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    ConsoleLogger
    @@ -185,7 +185,7 @@
    Parameters

    - + @@ -220,7 +220,7 @@
    Property Value
    - + @@ -251,7 +251,7 @@
    Property Value
    - + @@ -316,12 +316,12 @@
    Parameters
    - + - + @@ -354,12 +354,12 @@
    Parameters
    - + - + @@ -392,12 +392,12 @@
    Parameters
    - + - + @@ -430,12 +430,12 @@
    Parameters
    - + - + diff --git a/api/DiscordRPC.Logging.FileLogger.html b/api/DiscordRPC.Logging.FileLogger.html index d5d62215..dc2c83fd 100644 --- a/api/DiscordRPC.Logging.FileLogger.html +++ b/api/DiscordRPC.Logging.FileLogger.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    FileLogger
    @@ -129,7 +129,7 @@
    Parameters

    - + @@ -163,7 +163,7 @@
    Parameters
    - + @@ -204,7 +204,7 @@
    Property Value
    - + @@ -269,12 +269,12 @@
    Parameters
    - + - + @@ -307,12 +307,12 @@
    Parameters
    - + - + @@ -345,12 +345,12 @@
    Parameters
    - + - + @@ -383,12 +383,12 @@
    Parameters
    - + - + diff --git a/api/DiscordRPC.Logging.ILogger.html b/api/DiscordRPC.Logging.ILogger.html index 65645e16..dfbcd1b6 100644 --- a/api/DiscordRPC.Logging.ILogger.html +++ b/api/DiscordRPC.Logging.ILogger.html @@ -153,12 +153,12 @@
    Parameters
    - + - + @@ -191,12 +191,12 @@
    Parameters
    - + - + @@ -229,12 +229,12 @@
    Parameters
    - + - + @@ -267,12 +267,12 @@
    Parameters
    - + - + diff --git a/api/DiscordRPC.Logging.NullLogger.html b/api/DiscordRPC.Logging.NullLogger.html index 3ffb0277..e254ab9d 100644 --- a/api/DiscordRPC.Logging.NullLogger.html +++ b/api/DiscordRPC.Logging.NullLogger.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    NullLogger
    @@ -162,12 +162,12 @@
    Parameters

    - + - + @@ -200,12 +200,12 @@
    Parameters
    - + - + @@ -238,12 +238,12 @@
    Parameters
    - + - + @@ -276,12 +276,12 @@
    Parameters
    - + - + diff --git a/api/DiscordRPC.Message.CloseMessage.html b/api/DiscordRPC.Message.CloseMessage.html index 1cfe8814..a660f94d 100644 --- a/api/DiscordRPC.Message.CloseMessage.html +++ b/api/DiscordRPC.Message.CloseMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    CloseMessage
    @@ -131,7 +131,7 @@

    Property Value
    - + @@ -162,7 +162,7 @@
    Property Value
    - + diff --git a/api/DiscordRPC.Message.ConnectionEstablishedMessage.html b/api/DiscordRPC.Message.ConnectionEstablishedMessage.html index 08771a20..b6da0903 100644 --- a/api/DiscordRPC.Message.ConnectionEstablishedMessage.html +++ b/api/DiscordRPC.Message.ConnectionEstablishedMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    ConnectionEstablishedMessage
    @@ -131,7 +131,7 @@

    Property Value
    - + diff --git a/api/DiscordRPC.Message.ConnectionFailedMessage.html b/api/DiscordRPC.Message.ConnectionFailedMessage.html index f3406a1c..10d2fa55 100644 --- a/api/DiscordRPC.Message.ConnectionFailedMessage.html +++ b/api/DiscordRPC.Message.ConnectionFailedMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    ConnectionFailedMessage
    @@ -131,7 +131,7 @@

    Property Value
    - + diff --git a/api/DiscordRPC.Message.ErrorMessage.html b/api/DiscordRPC.Message.ErrorMessage.html index 87310c76..7a8a8ac6 100644 --- a/api/DiscordRPC.Message.ErrorMessage.html +++ b/api/DiscordRPC.Message.ErrorMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    ErrorMessage
    @@ -162,7 +162,7 @@

    Property Value
    - + diff --git a/api/DiscordRPC.Message.IMessage.html b/api/DiscordRPC.Message.IMessage.html index f05ab2db..0f1c7621 100644 --- a/api/DiscordRPC.Message.IMessage.html +++ b/api/DiscordRPC.Message.IMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    IMessage
    diff --git a/api/DiscordRPC.Message.JoinMessage.html b/api/DiscordRPC.Message.JoinMessage.html index 1f1b2e0d..1207f8db 100644 --- a/api/DiscordRPC.Message.JoinMessage.html +++ b/api/DiscordRPC.Message.JoinMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    JoinMessage
    @@ -132,7 +132,7 @@
    Property Value

    - + diff --git a/api/DiscordRPC.Message.JoinRequestMessage.html b/api/DiscordRPC.Message.JoinRequestMessage.html index f0fc9d1e..3d4ca186 100644 --- a/api/DiscordRPC.Message.JoinRequestMessage.html +++ b/api/DiscordRPC.Message.JoinRequestMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    JoinRequestMessage
    diff --git a/api/DiscordRPC.Message.PresenceMessage.html b/api/DiscordRPC.Message.PresenceMessage.html index 8b8fed48..043d967b 100644 --- a/api/DiscordRPC.Message.PresenceMessage.html +++ b/api/DiscordRPC.Message.PresenceMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    PresenceMessage
    @@ -131,7 +131,7 @@

    Property Value
    - + @@ -162,7 +162,7 @@
    Property Value
    - + diff --git a/api/DiscordRPC.Message.ReadyMessage.html b/api/DiscordRPC.Message.ReadyMessage.html index 0f37855b..6d3dea6e 100644 --- a/api/DiscordRPC.Message.ReadyMessage.html +++ b/api/DiscordRPC.Message.ReadyMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    ReadyMessage
    @@ -226,7 +226,7 @@

    Property Value
    - + diff --git a/api/DiscordRPC.Message.SpectateMessage.html b/api/DiscordRPC.Message.SpectateMessage.html index 2eb7ef82..07a3f0c1 100644 --- a/api/DiscordRPC.Message.SpectateMessage.html +++ b/api/DiscordRPC.Message.SpectateMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    SpectateMessage
    diff --git a/api/DiscordRPC.Message.SubscribeMessage.html b/api/DiscordRPC.Message.SubscribeMessage.html index 8c8046b7..c4a50b7c 100644 --- a/api/DiscordRPC.Message.SubscribeMessage.html +++ b/api/DiscordRPC.Message.SubscribeMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    SubscribeMessage
    diff --git a/api/DiscordRPC.Message.UnsubscribeMessage.html b/api/DiscordRPC.Message.UnsubscribeMessage.html index e17d25fc..91abbef6 100644 --- a/api/DiscordRPC.Message.UnsubscribeMessage.html +++ b/api/DiscordRPC.Message.UnsubscribeMessage.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    UnsubscribeMessage
    diff --git a/api/DiscordRPC.Party.PrivacySetting.html b/api/DiscordRPC.Party.PrivacySetting.html index e0b22202..b64a36cb 100644 --- a/api/DiscordRPC.Party.PrivacySetting.html +++ b/api/DiscordRPC.Party.PrivacySetting.html @@ -124,7 +124,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.Party.html b/api/DiscordRPC.Party.html index bd57ecfe..b5665652 100644 --- a/api/DiscordRPC.Party.html +++ b/api/DiscordRPC.Party.html @@ -87,7 +87,7 @@

    Class P
    Inheritance
    - +
    System.Object
    Party

    Namespace: DiscordRPC
    @@ -103,7 +103,7 @@

    Properties Improve this Doc - View Source + View Source

    ID

    @@ -125,7 +125,7 @@
    Property Value
    - + @@ -135,7 +135,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Max

    @@ -156,7 +156,7 @@
    Property Value
    - + @@ -166,7 +166,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Privacy

    @@ -197,7 +197,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Size

    @@ -218,7 +218,7 @@
    Property Value
    - + @@ -234,7 +234,7 @@
    Property Value
    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.RichPresence.html b/api/DiscordRPC.RichPresence.html index 6b5e181c..33c968f2 100644 --- a/api/DiscordRPC.RichPresence.html +++ b/api/DiscordRPC.RichPresence.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    RichPresence
    @@ -146,7 +146,7 @@

    Properties Improve this Doc - View Source + View Source

    Buttons

    @@ -180,7 +180,7 @@

    Methods Improve this Doc - View Source + View Source

    Clone()

    @@ -211,7 +211,7 @@
    Returns
    Improve this Doc - View Source + View Source

    HasButtons()

    @@ -232,7 +232,7 @@
    Returns
    - + @@ -242,7 +242,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WithAssets(Assets)

    @@ -292,7 +292,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WithDetails(String)

    @@ -314,7 +314,7 @@
    Parameters
    - + @@ -342,7 +342,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WithParty(Party)

    @@ -392,7 +392,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WithSecrets(Secrets)

    @@ -442,7 +442,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WithState(String)

    @@ -464,7 +464,7 @@
    Parameters
    - + @@ -492,7 +492,7 @@
    Returns
    Improve this Doc - View Source + View Source

    WithTimestamps(Timestamps)

    @@ -544,7 +544,7 @@

    Operators Improve this Doc - View Source + View Source

    Implicit(RichPresence to Boolean)

    @@ -582,7 +582,7 @@
    Returns
    - + @@ -598,7 +598,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.Secrets.html b/api/DiscordRPC.Secrets.html index 75992f1f..f2b9e519 100644 --- a/api/DiscordRPC.Secrets.html +++ b/api/DiscordRPC.Secrets.html @@ -90,7 +90,7 @@

    Cla
    Inheritance
    - +
    System.Object
    Secrets

    Namespace: DiscordRPC
    @@ -162,7 +162,7 @@
    Property Value
    - + @@ -195,7 +195,7 @@
    Property Value
    - + @@ -226,7 +226,7 @@
    Property Value
    - + @@ -261,7 +261,7 @@
    Property Value
    - + @@ -312,7 +312,7 @@
    Returns
    - + @@ -361,7 +361,7 @@
    Returns
    - + diff --git a/api/DiscordRPC.Timestamps.html b/api/DiscordRPC.Timestamps.html index ac8e4727..dc226f35 100644 --- a/api/DiscordRPC.Timestamps.html +++ b/api/DiscordRPC.Timestamps.html @@ -87,7 +87,7 @@

    Inheritance
    - +
    System.Object
    Timestamps

    Namespace: DiscordRPC
    @@ -103,7 +103,7 @@

    Constructors Improve this Doc - View Source + View Source

    Timestamps()

    @@ -119,7 +119,7 @@
    Declaration
    Improve this Doc - View Source + View Source

    Timestamps(DateTime)

    @@ -152,7 +152,7 @@
    Parameters
    Improve this Doc - View Source + View Source

    Timestamps(DateTime, DateTime)

    @@ -194,7 +194,7 @@

    Properties Improve this Doc - View Source + View Source

    End

    @@ -215,7 +215,7 @@
    Property Value
    - + @@ -225,7 +225,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    EndUnixMilliseconds

    @@ -247,7 +247,7 @@
    Property Value
    - + @@ -257,7 +257,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Now

    @@ -288,7 +288,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Start

    @@ -309,7 +309,7 @@
    Property Value
    - + @@ -319,7 +319,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    StartUnixMilliseconds

    @@ -340,7 +340,7 @@
    Property Value
    - + @@ -352,7 +352,7 @@

    Methods Improve this Doc - View Source + View Source

    FromTimeSpan(Double)

    @@ -374,7 +374,7 @@
    Parameters
    - + @@ -402,7 +402,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FromTimeSpan(TimeSpan)

    @@ -452,7 +452,7 @@
    Returns
    Improve this Doc - View Source + View Source

    FromUnixMilliseconds(UInt64)

    @@ -474,7 +474,7 @@
    Parameters
    - + @@ -501,7 +501,7 @@
    Returns
    Improve this Doc - View Source + View Source

    ToUnixMilliseconds(DateTime)

    @@ -540,7 +540,7 @@
    Returns
    - + @@ -556,7 +556,7 @@
    Returns
    Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.User.Flag.html b/api/DiscordRPC.User.Flag.html index ce687bb7..0a767c7c 100644 --- a/api/DiscordRPC.User.Flag.html +++ b/api/DiscordRPC.User.Flag.html @@ -165,7 +165,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.User.PremiumType.html b/api/DiscordRPC.User.PremiumType.html index 096d6fde..fdce2c1a 100644 --- a/api/DiscordRPC.User.PremiumType.html +++ b/api/DiscordRPC.User.PremiumType.html @@ -129,7 +129,7 @@

    Fields Improve this Doc
  • - View Source + View Source
  • diff --git a/api/DiscordRPC.User.html b/api/DiscordRPC.User.html index da8472f7..cf56511a 100644 --- a/api/DiscordRPC.User.html +++ b/api/DiscordRPC.User.html @@ -87,7 +87,7 @@

    Class Use
    Inheritance
    - +
    System.Object
    User

    Namespace: DiscordRPC
    @@ -103,7 +103,7 @@

    Properties Improve this Doc - View Source + View Source

    Avatar

    @@ -124,7 +124,7 @@
    Property Value
    - + @@ -134,7 +134,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    CdnEndpoint

    @@ -155,7 +155,7 @@
    Property Value
    - + @@ -165,7 +165,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Discriminator

    @@ -186,17 +186,54 @@
    Property Value
    - +
    StringSystem.String
    StringSystem.String applicationID

    The ID of the application created at discord's developers portal.

    StringSystem.String applicationID

    The ID of the application created at discord's developers portal.

    Int32System.Int32 pipe

    The pipe to connect too. If -1, then the client will scan for the first available instance of Discord.

    BooleanSystem.Boolean autoEvents

    Should events be automatically invoked from the RPC Thread as they arrive from discord?

    StringSystem.String
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    Int32System.Int32
    Int32System.Int32
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    StringSystem.String
    Int32System.Int32
    BooleanSystem.Boolean
    BooleanSystem.Boolean acceptRequest

    Accept the join request.

    Int32System.Int32 index

    The number of the button

    StringSystem.String details

    The details of the Rich Presence

    StringSystem.String key

    Optional: The new key to set the asset too

    StringSystem.String tooltip

    Optional: The new tooltip to display on the asset

    Int32System.Int32 size

    The new size of the party. It cannot be greater than Max

    Int32System.Int32 size

    The new size of the party. It cannot be greater than Max

    Int32System.Int32 max

    The new size of the party. It cannot be smaller than Size

    StringSystem.String key

    Optional: The new key to set the asset too

    StringSystem.String tooltip

    Optional: The new tooltip to display on the asset

    StringSystem.String state

    The state of the Rich Presence

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    ObjectSystem.Object sender

    The Discord client handler that sent this event

    Int32System.Int32
    Int32System.Int32
    StringSystem.String str

    The string to check

    StringSystem.String

    Null if the string is empty, otherwise the string

    StringSystem.String str

    The string to convert

    StringSystem.String
    StringSystem.String str

    The string to convert

    StringSystem.String
    StringSystem.String str

    The string to check

    Int32System.Int32 bytes

    The maximum number of bytes the string can take up

    BooleanSystem.Boolean

    True if the string fits within the number of bytes

    StringSystem.String str

    The string to check

    Int32System.Int32 bytes

    The maximum number of bytes the string can take up

    BooleanSystem.Boolean

    True if the string fits within the number of bytes

    Int32System.Int32
    BooleanSystem.Boolean
    Int32System.Int32 pipe

    If -1 is passed, the pipe will find the first available pipe, otherwise it connects to the pipe that was supplied

    BooleanSystem.Boolean
    BooleanSystem.Boolean

    Returns true if a frame has been read, otherwise false.

    BooleanSystem.Boolean
    Int32System.Int32
    BooleanSystem.Boolean
    Int32System.Int32 pipe
    BooleanSystem.Boolean
    Int32System.Int32 pipe

    The pipe number

    StringSystem.String
    Int32System.Int32 pipe

    The pipe number.

    StringSystem.String sandbox

    The sandbox environment the pipe is in

    StringSystem.String
    StringSystem.String
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    ObjectSystem.Object data

    The data of the frame that will be serialized as JSON

    Int32System.Int32
    Byte[]System.Byte[]
    UInt32System.UInt32
    StringSystem.String
    BooleanSystem.Boolean
    BooleanSystem.Boolean
    ObjectSystem.Object obj
    ObjectSystem.Object obj
    BooleanSystem.Boolean coloured

    Should the logs be in colour?

    BooleanSystem.Boolean
    BooleanSystem.Boolean
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String path

    The path of the log file.

    StringSystem.String path

    The path of the log file.

    StringSystem.String
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    StringSystem.String message
    Object[]System.Object[] args
    Int32System.Int32
    StringSystem.String
    Int32System.Int32
    Int32System.Int32
    StringSystem.String
    StringSystem.String
    StringSystem.String
    StringSystem.String
    Int32System.Int32
    StringSystem.String
    Int32System.Int32
    Int32System.Int32
    BooleanSystem.Boolean
    StringSystem.String details

    What the user is currently doing.

    StringSystem.String state

    The user's current Party status.

    BooleanSystem.Boolean
    StringSystem.String
    StringSystem.String
    Int32System.Int32
    StringSystem.String
    StringSystem.String
    StringSystem.String

    Returns a SecretLength sized string with random characters from Encoding

    Nullable<DateTime>System.Nullable<DateTime>
    Nullable<UInt64>System.Nullable<System.UInt64>
    Nullable<DateTime>System.Nullable<DateTime>
    Nullable<UInt64>System.Nullable<System.UInt64>
    DoubleSystem.Double seconds

    How long the Timestamp will last for in seconds.

    UInt64System.UInt64 unixTime

    The time in milliseconds since 1970 / 01 / 01

    UInt64System.UInt64
    StringSystem.String
    StringSystem.String
    Int32System.Int32
    +
    Remarks
    +

    If the user has migrated to unique a Username, the discriminator will always be 0.

    +
    + + | + Improve this Doc + + + View Source + + +

    DisplayName

    +

    The display name of the user

    +
    +
    +
    Declaration
    +
    +
    public string DisplayName { get; }
    +
    +
    Property Value
    + + + + + + + + + + + + + +
    TypeDescription
    System.String
    +
    Remarks
    +

    This will be empty if the user has not set a global display name.

    +
    | Improve this Doc - View Source + View Source

    Flags

    @@ -248,7 +285,7 @@
    Property Value
    - UInt64 + System.UInt64 @@ -258,7 +295,7 @@
    Property Value
    Improve this Doc - View Source + View Source

    Premium

    @@ -310,7 +347,7 @@
    Property Value
    - String + System.String @@ -322,7 +359,7 @@

    Methods Improve this Doc - View Source + View Source

    GetAvatarExtension(User.AvatarFormat)

    @@ -361,7 +398,7 @@
    Returns
    - String + System.String

    Returns a period prefixed file extension.

    @@ -372,7 +409,7 @@
    Returns
    Improve this Doc - View Source + View Source

    GetAvatarURL(User.AvatarFormat)

    @@ -411,7 +448,7 @@
    Returns
    - String + System.String

    URL to the discord CDN for the particular avatar

    @@ -425,7 +462,7 @@
    Rema Improve this Doc - View Source + View Source

    GetAvatarURL(User.AvatarFormat, User.AvatarSize)

    @@ -470,7 +507,7 @@
    Returns
    - String + System.String

    URL to the discord CDN for the particular avatar

    @@ -481,11 +518,12 @@
    Returns
    Improve this Doc - View Source + View Source

    ToString()

    -

    Formats the user into username#discriminator

    +

    Formats the user into a displayable format. If the user has a DisplayName, then this will be used. +

    If the user still has a discriminator, then this will return the form of Username#Discriminator.

    Declaration
    @@ -502,8 +540,9 @@
    Returns
    - String - + System.String +

    String of the user that can be used for display.

    + diff --git a/index.html b/index.html index 53835475..1bf061ca 100644 --- a/index.html +++ b/index.html @@ -180,6 +180,24 @@

    Usage

    dotnet build -c Release
     

    Unity3D

    If you wish to have barebones Unity3D implementation, you need to build the DiscordRPC.dll, the Unity Named Pipes Library and the UnityNamedPipe.cs. Put these in your own Unity Project and the .dlls in a folder called Plugins.

    +

    UWP / .NET MAUI / WIN UI 3

    +

    For now, the library doesn't work on UWP applications until we find the issue and fix it.

    +

    In order to make this library work with the WIN UI 3 related applications such as .NET MAUI, you need to define runFullTrust Capability inside Package.appxmanifest.

    +

    Here is an example of how to add runFullTrust to your WIN UI 3 application:

    +

    Package.appxmanifest:

    +
    <?xml version="1.0" encoding="utf-8"?>
    +
    +<Package
    +  xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
    +  xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
    +  xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    +  IgnorableNamespaces="uap rescap">
    +  ...
    +    <Capabilities>
    +        <rescap:Capability Name="runFullTrust" />
    +    </Capabilities>
    +</Package>
    +

    If you use .NET MAUI or WIN UI 3 template for C#, it automatically puts runFullTrust capability.

    diff --git a/index.json b/index.json index 8a0486fd..fd9e8764 100644 --- a/index.json +++ b/index.json @@ -2,27 +2,27 @@ "api/DiscordRPC.Assets.html": { "href": "api/DiscordRPC.Assets.html", "title": "Class Assets | Discord RPC C#", - "keywords": "Class Assets Information about the pictures used in the Rich Presence. Inheritance Object Assets Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Assets : object Properties | Improve this Doc View Source IsLargeImageKeyExternal Gets if the large square image is from an external link Declaration public bool IsLargeImageKeyExternal { get; } Property Value Type Description Boolean | Improve this Doc View Source IsSmallImageKeyExternal Gets if the small profile artwork is from an external link Declaration public bool IsSmallImageKeyExternal { get; } Property Value Type Description Boolean | Improve this Doc View Source LargeImageID The ID of the large image. This is only set after Update Presence and will automatically become null when LargeImageKey is changed. Declaration public ulong? LargeImageID { get; } Property Value Type Description Nullable < UInt64 > | Improve this Doc View Source LargeImageKey Name of the uploaded image for the large profile artwork. Max 256 Bytes. Declaration public string LargeImageKey { get; set; } Property Value Type Description String | Improve this Doc View Source LargeImageText The tooltip for the large square image. For example, \"Summoners Rift\" or \"Horizon Lunar Colony\". Max 128 Bytes. Declaration public string LargeImageText { get; set; } Property Value Type Description String | Improve this Doc View Source SmallImageID The ID of the small image. This is only set after Update Presence and will automatically become null when SmallImageKey is changed. Declaration public ulong? SmallImageID { get; } Property Value Type Description Nullable < UInt64 > | Improve this Doc View Source SmallImageKey Name of the uploaded image for the small profile artwork. Max 256 Bytes. Declaration public string SmallImageKey { get; set; } Property Value Type Description String | Improve this Doc View Source SmallImageText The tooltip for the small circle image. For example, \"LvL 6\" or \"Ultimate 85%\". Max 128 Bytes. Declaration public string SmallImageText { get; set; } Property Value Type Description String" + "keywords": "Class Assets Information about the pictures used in the Rich Presence. Inheritance System.Object Assets Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Assets : object Properties | Improve this Doc View Source IsLargeImageKeyExternal Gets if the large square image is from an external link Declaration public bool IsLargeImageKeyExternal { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsSmallImageKeyExternal Gets if the small profile artwork is from an external link Declaration public bool IsSmallImageKeyExternal { get; } Property Value Type Description System.Boolean | Improve this Doc View Source LargeImageID The ID of the large image. This is only set after Update Presence and will automatically become null when LargeImageKey is changed. Declaration public ulong? LargeImageID { get; } Property Value Type Description System.Nullable < System.UInt64 > | Improve this Doc View Source LargeImageKey Name of the uploaded image for the large profile artwork. Max 256 Bytes. Declaration public string LargeImageKey { get; set; } Property Value Type Description System.String Remarks Allows URL to directly link to images. | Improve this Doc View Source LargeImageText The tooltip for the large square image. For example, \"Summoners Rift\" or \"Horizon Lunar Colony\". Max 128 Bytes. Declaration public string LargeImageText { get; set; } Property Value Type Description System.String | Improve this Doc View Source SmallImageID The ID of the small image. This is only set after Update Presence and will automatically become null when SmallImageKey is changed. Declaration public ulong? SmallImageID { get; } Property Value Type Description System.Nullable < System.UInt64 > | Improve this Doc View Source SmallImageKey Name of the uploaded image for the small profile artwork. Max 256 Bytes. Declaration public string SmallImageKey { get; set; } Property Value Type Description System.String Remarks Allows URL to directly link to images. | Improve this Doc View Source SmallImageText The tooltip for the small circle image. For example, \"LvL 6\" or \"Ultimate 85%\". Max 128 Bytes. Declaration public string SmallImageText { get; set; } Property Value Type Description System.String" }, "api/DiscordRPC.BaseRichPresence.html": { "href": "api/DiscordRPC.BaseRichPresence.html", "title": "Class BaseRichPresence | Discord RPC C#", - "keywords": "Class BaseRichPresence The base rich presence structure Inheritance Object BaseRichPresence RichPresence Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class BaseRichPresence : object Fields | Improve this Doc View Source _details Inernal inner detail string Declaration protected string _details Field Value Type Description String | Improve this Doc View Source _state Inernal inner state string Declaration protected string _state Field Value Type Description String Properties | Improve this Doc View Source Assets The names of the images to use and the tooltips to give those images. Declaration public Assets Assets { get; set; } Property Value Type Description Assets | Improve this Doc View Source Details What the user is currently doing. For example, \"Competitive - Total Mayhem\". Max 128 bytes Declaration public string Details { get; set; } Property Value Type Description String | Improve this Doc View Source Party The party the player is currently in. The ID must be set for this to be included in the RichPresence update. Declaration public Party Party { get; set; } Property Value Type Description Party | Improve this Doc View Source Secrets The secrets used for Join / Spectate. Secrets are obfuscated data of your choosing. They could be match ids, player ids, lobby ids, etc. Make this object null if you do not wish too / unable too implement the Join / Request feature. To keep security on the up and up, Discord requires that you properly hash/encode/encrypt/put-a-padlock-on-and-swallow-the-key-but-wait-then-how-would-you-open-it your secrets. Visit the Rich Presence How-To for more information. Declaration public Secrets Secrets { get; set; } Property Value Type Description Secrets | Improve this Doc View Source State The user's current Party status. For example, \"Playing Solo\" or \"With Friends\". Max 128 bytes Declaration public string State { get; set; } Property Value Type Description String | Improve this Doc View Source Timestamps The time elapsed / remaining time data. Declaration public Timestamps Timestamps { get; set; } Property Value Type Description Timestamps Methods | Improve this Doc View Source HasAssets() Does the Rich Presence have valid assets? Declaration public bool HasAssets() Returns Type Description Boolean | Improve this Doc View Source HasParty() Does the Rich Presence have a valid party? Declaration public bool HasParty() Returns Type Description Boolean | Improve this Doc View Source HasSecrets() Does the Rich Presence have valid secrets? Declaration public bool HasSecrets() Returns Type Description Boolean | Improve this Doc View Source HasTimestamps() Does the Rich Presence have valid timestamps? Declaration public bool HasTimestamps() Returns Type Description Boolean | Improve this Doc View Source ToRichPresence() Converts this BaseRichPresence to RichPresence Declaration public RichPresence ToRichPresence() Returns Type Description RichPresence Operators | Improve this Doc View Source Implicit(BaseRichPresence to Boolean) Operator that converts a presence into a boolean for null checks. Declaration public static implicit operator bool (BaseRichPresence presesnce) Parameters Type Name Description BaseRichPresence presesnce Returns Type Description Boolean" + "keywords": "Class BaseRichPresence The base rich presence structure Inheritance System.Object BaseRichPresence RichPresence Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class BaseRichPresence : object Fields | Improve this Doc View Source _details Inernal inner detail string Declaration protected string _details Field Value Type Description System.String | Improve this Doc View Source _state Inernal inner state string Declaration protected string _state Field Value Type Description System.String Properties | Improve this Doc View Source Assets The names of the images to use and the tooltips to give those images. Declaration public Assets Assets { get; set; } Property Value Type Description Assets | Improve this Doc View Source Details What the user is currently doing. For example, \"Competitive - Total Mayhem\". Max 128 bytes Declaration public string Details { get; set; } Property Value Type Description System.String | Improve this Doc View Source Party The party the player is currently in. The ID must be set for this to be included in the RichPresence update. Declaration public Party Party { get; set; } Property Value Type Description Party | Improve this Doc View Source Secrets The secrets used for Join / Spectate. Secrets are obfuscated data of your choosing. They could be match ids, player ids, lobby ids, etc. Make this object null if you do not wish too / unable too implement the Join / Request feature. To keep security on the up and up, Discord requires that you properly hash/encode/encrypt/put-a-padlock-on-and-swallow-the-key-but-wait-then-how-would-you-open-it your secrets. Visit the Rich Presence How-To for more information. Declaration public Secrets Secrets { get; set; } Property Value Type Description Secrets | Improve this Doc View Source State The user's current Party status. For example, \"Playing Solo\" or \"With Friends\". Max 128 bytes Declaration public string State { get; set; } Property Value Type Description System.String | Improve this Doc View Source Timestamps The time elapsed / remaining time data. Declaration public Timestamps Timestamps { get; set; } Property Value Type Description Timestamps Methods | Improve this Doc View Source HasAssets() Does the Rich Presence have valid assets? Declaration public bool HasAssets() Returns Type Description System.Boolean | Improve this Doc View Source HasParty() Does the Rich Presence have a valid party? Declaration public bool HasParty() Returns Type Description System.Boolean | Improve this Doc View Source HasSecrets() Does the Rich Presence have valid secrets? Declaration public bool HasSecrets() Returns Type Description System.Boolean | Improve this Doc View Source HasTimestamps() Does the Rich Presence have valid timestamps? Declaration public bool HasTimestamps() Returns Type Description System.Boolean | Improve this Doc View Source ToRichPresence() Converts this BaseRichPresence to RichPresence Declaration public RichPresence ToRichPresence() Returns Type Description RichPresence Operators | Improve this Doc View Source Implicit(BaseRichPresence to Boolean) Operator that converts a presence into a boolean for null checks. Declaration public static implicit operator bool (BaseRichPresence presesnce) Parameters Type Name Description BaseRichPresence presesnce Returns Type Description System.Boolean" }, "api/DiscordRPC.Button.html": { "href": "api/DiscordRPC.Button.html", "title": "Class Button | Discord RPC C#", - "keywords": "Class Button A Rich Presence button. Inheritance Object Button Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Button : object Properties | Improve this Doc View Source Label Text shown on the button Max 32 bytes. Declaration public string Label { get; set; } Property Value Type Description String | Improve this Doc View Source Url The URL opened when clicking the button. Max 512 bytes. Declaration public string Url { get; set; } Property Value Type Description String" + "keywords": "Class Button A Rich Presence button. Inheritance System.Object Button Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Button : object Properties | Improve this Doc View Source Label Text shown on the button Max 32 bytes. Declaration public string Label { get; set; } Property Value Type Description System.String | Improve this Doc View Source Url The URL opened when clicking the button. Max 512 bytes. Declaration public string Url { get; set; } Property Value Type Description System.String" }, "api/DiscordRPC.Configuration.html": { "href": "api/DiscordRPC.Configuration.html", "title": "Class Configuration | Discord RPC C#", - "keywords": "Class Configuration Configuration of the current RPC connection Inheritance Object Configuration Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Configuration : object Properties | Improve this Doc View Source ApiEndpoint The Discord API endpoint that should be used. Declaration public string ApiEndpoint { get; set; } Property Value Type Description String | Improve this Doc View Source CdnHost The CDN endpoint Declaration public string CdnHost { get; set; } Property Value Type Description String | Improve this Doc View Source Enviroment The type of enviroment the connection on. Usually Production. Declaration public string Enviroment { get; set; } Property Value Type Description String" + "keywords": "Class Configuration Configuration of the current RPC connection Inheritance System.Object Configuration Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Configuration : object Properties | Improve this Doc View Source ApiEndpoint The Discord API endpoint that should be used. Declaration public string ApiEndpoint { get; set; } Property Value Type Description System.String | Improve this Doc View Source CdnHost The CDN endpoint Declaration public string CdnHost { get; set; } Property Value Type Description System.String | Improve this Doc View Source Environment The type of environment the connection on. Usually Production. Declaration public string Environment { get; set; } Property Value Type Description System.String" }, "api/DiscordRPC.DiscordRpcClient.html": { "href": "api/DiscordRPC.DiscordRpcClient.html", "title": "Class DiscordRpcClient | Discord RPC C#", - "keywords": "Class DiscordRpcClient A Discord RPC Client which is used to send Rich Presence updates and receive Join / Spectate events. Inheritance Object DiscordRpcClient Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public sealed class DiscordRpcClient : IDisposable Constructors | Improve this Doc View Source DiscordRpcClient(String) Creates a new Discord RPC Client which can be used to send Rich Presence and receive Join / Spectate events. Declaration public DiscordRpcClient(string applicationID) Parameters Type Name Description String applicationID The ID of the application created at discord's developers portal. | Improve this Doc View Source DiscordRpcClient(String, Int32, ILogger, Boolean, INamedPipeClient) Creates a new Discord RPC Client which can be used to send Rich Presence and receive Join / Spectate events. This constructor exposes more advance features such as custom NamedPipeClients and Loggers. Declaration public DiscordRpcClient(string applicationID, int pipe = null, ILogger logger = null, bool autoEvents = true, INamedPipeClient client = null) Parameters Type Name Description String applicationID The ID of the application created at discord's developers portal. Int32 pipe The pipe to connect too. If -1, then the client will scan for the first available instance of Discord. ILogger logger The logger used to report messages. If null, then a NullLogger will be created and logs will be ignored. Boolean autoEvents Should events be automatically invoked from the RPC Thread as they arrive from discord? INamedPipeClient client The pipe client to use and communicate to discord through. If null, the default ManagedNamedPipeClient will be used. Properties | Improve this Doc View Source ApplicationID Gets the Application ID of the RPC Client. Declaration public string ApplicationID { get; } Property Value Type Description String | Improve this Doc View Source AutoEvents Indicates if the client will automatically invoke the events without Invoke() having to be called. Declaration public bool AutoEvents { get; } Property Value Type Description Boolean | Improve this Doc View Source Configuration The current configuration the connection is using. Only becomes available after a ready event. Declaration public Configuration Configuration { get; } Property Value Type Description Configuration | Improve this Doc View Source CurrentPresence The current presence that the client has. Gets set with SetPresence(RichPresence) and updated on OnPresenceUpdate . Declaration public RichPresence CurrentPresence { get; } Property Value Type Description RichPresence | Improve this Doc View Source CurrentUser The current discord user. This is updated with the ready event and will be null until the event is fired from the connection. Declaration public User CurrentUser { get; } Property Value Type Description User | Improve this Doc View Source HasRegisteredUriScheme Gets a value indicating if the client has registered a URI Scheme. If this is false, Join / Spectate events will fail. To register a URI Scheme, call . Declaration public bool HasRegisteredUriScheme { get; } Property Value Type Description Boolean | Improve this Doc View Source IsDisposed The dispose state of the client object. Declaration public bool IsDisposed { get; } Property Value Type Description Boolean | Improve this Doc View Source IsInitialized Represents if the client has been Initialize() Declaration public bool IsInitialized { get; } Property Value Type Description Boolean | Improve this Doc View Source Logger The logger used this client and its associated components. ILogger are not called safely and can come from any thread. It is upto the ILogger to account for this and apply appropriate thread safe methods. Declaration public ILogger Logger { get; set; } Property Value Type Description ILogger | Improve this Doc View Source MaxQueueSize The maximum size of the message queue received from Discord. Declaration public int MaxQueueSize { get; } Property Value Type Description Int32 | Improve this Doc View Source ProcessID Gets the ID of the process used to run the RPC Client. Discord tracks this process ID and waits for its termination. Defaults to the current application process ID. Declaration public int ProcessID { get; } Property Value Type Description Int32 | Improve this Doc View Source ShutdownOnly Forces the connection to shutdown gracefully instead of just aborting the connection. This option helps prevents ghosting in applications where the Process ID is a host and the game is executed within the host (ie: the Unity3D editor). This will tell Discord that we have no presence and we are closing the connection manually, instead of waiting for the process to terminate. Declaration public bool ShutdownOnly { get; set; } Property Value Type Description Boolean | Improve this Doc View Source SkipIdenticalPresence Skips sending presences that are identical to the current one. Declaration public bool SkipIdenticalPresence { get; set; } Property Value Type Description Boolean | Improve this Doc View Source SteamID Gets the Steam ID of the RPC Client. This value can be null if none was supplied. Declaration public string SteamID { get; } Property Value Type Description String | Improve this Doc View Source Subscription Current subscription to events. Gets set with Subscribe(EventType) , UnsubscribeMessage and updated on OnSubscribe , OnUnsubscribe . Declaration public EventType Subscription { get; } Property Value Type Description EventType | Improve this Doc View Source TargetPipe The pipe the discord client is on, ranging from 0 to 9. Use -1 to scan through all pipes. This property can be used for testing multiple clients. For example, if a Discord Client was on pipe 0, the Discord Canary is most likely on pipe 1. Declaration public int TargetPipe { get; } Property Value Type Description Int32 Methods | Improve this Doc View Source ClearPresence() Clears the Rich Presence. Use this just before disposal to prevent ghosting. Declaration public void ClearPresence() | Improve this Doc View Source Deinitialize() Attempts to disconnect and deinitialize the IPC connection while retaining the settings. Declaration public void Deinitialize() | Improve this Doc View Source Dispose() Terminates the connection to Discord and disposes of the object. Declaration public void Dispose() | Improve this Doc View Source Initialize() Attempts to initalize a connection to the Discord IPC. Declaration public bool Initialize() Returns Type Description Boolean | Improve this Doc View Source Invoke() Dequeues all the messages from Discord, processes them and then invoke appropriate event handlers. This will process the message and update the internal state before invoking the events. Returns the messages that were invoked in the order they were invoked. This method cannot be used if AutoEvents is enabled. Declaration public IMessage[] Invoke() Returns Type Description IMessage [] Returns the messages that were invoked and in the order they were invoked. | Improve this Doc View Source Respond(JoinRequestMessage, Boolean) Respond to a Join Request. All requests will timeout after 30 seconds. Because of the 30 second timeout, it is recommended to call Invoke() faster than every 15 seconds to give your users adequate time to respond to the request. Declaration public void Respond(JoinRequestMessage request, bool acceptRequest) Parameters Type Name Description JoinRequestMessage request The request that is being responded too. Boolean acceptRequest Accept the join request. | Improve this Doc View Source SetButton(Button, Int32) Updates only the Buttons of the CurrentPresence and updates the button with the given index. Returns the newly edited Rich Presence. Declaration public RichPresence SetButton(Button button, int index = 0) Parameters Type Name Description Button button The buttons of the Rich Presence Int32 index The number of the button Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source SetPresence(RichPresence) Sets the Rich Presence. Declaration public void SetPresence(RichPresence presence) Parameters Type Name Description RichPresence presence The Rich Presence to set on the current Discord user. | Improve this Doc View Source SetSubscription(EventType) Sets the subscription to the events sent from Discord. Requires the UriScheme to be registered. Declaration public void SetSubscription(EventType type) Parameters Type Name Description EventType type The new subscription as a flag. Events selected in the flag will be subscribed too and the other events will be unsubscribed. | Improve this Doc View Source Subscribe(EventType) Subscribes to an event sent from discord. Used for Join / Spectate feature. Requires the UriScheme to be registered. Declaration public void Subscribe(EventType type) Parameters Type Name Description EventType type The event type to subscribe to | Improve this Doc View Source SynchronizeState() Resends the current presence and subscription. This is used when Ready is called to keep the current state within discord. Declaration public void SynchronizeState() | Improve this Doc View Source Unsubscribe(EventType) Unsubscribe from the event sent by discord. Used for Join / Spectate feature. Requires the UriScheme to be registered. Declaration public void Unsubscribe(EventType type) Parameters Type Name Description EventType type The event type to unsubscribe from | Improve this Doc View Source Unubscribe(EventType) Declaration public void Unubscribe(EventType type) Parameters Type Name Description EventType type | Improve this Doc View Source UpdateButtons(Button[]) Updates only the Buttons of the CurrentPresence and updates/removes the buttons. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateButtons(Button[] button = null) Parameters Type Name Description Button [] button The buttons of the Rich Presence Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateClearTime() Sets the start and end time of CurrentPresence to null and sends it to Discord. Declaration public RichPresence UpdateClearTime() Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateDetails(String) Updates only the Details of the CurrentPresence and sends the updated presence to Discord. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateDetails(string details) Parameters Type Name Description String details The details of the Rich Presence Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateEndTime() Sets the end time of the CurrentPresence to now and sends the updated presence to Discord. Declaration public RichPresence UpdateEndTime() Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateEndTime(DateTime) Sets the end time of the CurrentPresence and sends the updated presence to Discord. Declaration public RichPresence UpdateEndTime(DateTime time) Parameters Type Name Description DateTime time The new time for the end Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateLargeAsset(String, String) Updates the large Assets of the CurrentPresence and sends the updated presence to Discord. Both key and tooltip are optional and will be ignored it null. Declaration public RichPresence UpdateLargeAsset(string key = null, string tooltip = null) Parameters Type Name Description String key Optional: The new key to set the asset too String tooltip Optional: The new tooltip to display on the asset Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateParty(Party) Updates only the Party of the CurrentPresence and sends the updated presence to Discord. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateParty(Party party) Parameters Type Name Description Party party The party of the Rich Presence Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdatePartySize(Int32) Updates the Size of the CurrentPresence and sends the update presence to Discord. Returns the newly edited Rich Presence. Will return null if no presence exists and will throw a new if the Party does not exist. Declaration public RichPresence UpdatePartySize(int size) Parameters Type Name Description Int32 size The new size of the party. It cannot be greater than Max Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdatePartySize(Int32, Int32) Updates the Size of the CurrentPresence and sends the update presence to Discord. Returns the newly edited Rich Presence. Will return null if no presence exists and will throw a new if the Party does not exist. Declaration public RichPresence UpdatePartySize(int size, int max) Parameters Type Name Description Int32 size The new size of the party. It cannot be greater than Max Int32 max The new size of the party. It cannot be smaller than Size Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateSecrets(Secrets) Updates the Secrets of the CurrentPresence and sends the updated presence to Discord. Will override previous secret entirely. Declaration public RichPresence UpdateSecrets(Secrets secrets) Parameters Type Name Description Secrets secrets The new secret to send to discord. Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateSmallAsset(String, String) Updates the small Assets of the CurrentPresence and sends the updated presence to Discord. Both key and tooltip are optional and will be ignored it null. Declaration public RichPresence UpdateSmallAsset(string key = null, string tooltip = null) Parameters Type Name Description String key Optional: The new key to set the asset too String tooltip Optional: The new tooltip to display on the asset Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateStartTime() Sets the start time of the CurrentPresence to now and sends the updated presence to Discord. Declaration public RichPresence UpdateStartTime() Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateStartTime(DateTime) Sets the start time of the CurrentPresence and sends the updated presence to Discord. Declaration public RichPresence UpdateStartTime(DateTime time) Parameters Type Name Description DateTime time The new time for the start Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateState(String) Updates only the State of the CurrentPresence and sends the updated presence to Discord. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateState(string state) Parameters Type Name Description String state The state of the Rich Presence Returns Type Description RichPresence Updated Rich Presence Events | Improve this Doc View Source OnClose Called when connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnCloseEvent OnClose Event Type Type Description OnCloseEvent | Improve this Doc View Source OnConnectionEstablished The connection to the discord client was succesfull. This is called before Ready . If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnConnectionEstablishedEvent OnConnectionEstablished Event Type Type Description OnConnectionEstablishedEvent | Improve this Doc View Source OnConnectionFailed Failed to establish any connection with discord. Discord is potentially not running? If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnConnectionFailedEvent OnConnectionFailed Event Type Type Description OnConnectionFailedEvent | Improve this Doc View Source OnError Called when a error has occured during the transmission of a message. For example, if a bad Rich Presence payload is sent, this event will be called explaining what went wrong. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnErrorEvent OnError Event Type Type Description OnErrorEvent | Improve this Doc View Source OnJoin Called when the Discord Client wishes for this process to join a game. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnJoinEvent OnJoin Event Type Type Description OnJoinEvent | Improve this Doc View Source OnJoinRequested Called when another discord user requests permission to join this game. This event is not invoked untill Invoke() is executed. Declaration public event OnJoinRequestedEvent OnJoinRequested Event Type Type Description OnJoinRequestedEvent | Improve this Doc View Source OnPresenceUpdate Called when the Discord Client has updated the presence. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnPresenceUpdateEvent OnPresenceUpdate Event Type Type Description OnPresenceUpdateEvent | Improve this Doc View Source OnReady Called when the discord client is ready to send and receive messages. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnReadyEvent OnReady Event Type Type Description OnReadyEvent | Improve this Doc View Source OnRpcMessage The RPC Connection has sent a message. Called before any other event and executed from the RPC Thread. Declaration public event OnRpcMessageEvent OnRpcMessage Event Type Type Description OnRpcMessageEvent | Improve this Doc View Source OnSpectate Called when the Discord Client wishes for this process to spectate a game. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnSpectateEvent OnSpectate Event Type Type Description OnSpectateEvent | Improve this Doc View Source OnSubscribe Called when the Discord Client has subscribed to an event. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnSubscribeEvent OnSubscribe Event Type Type Description OnSubscribeEvent | Improve this Doc View Source OnUnsubscribe Called when the Discord Client has unsubscribed from an event. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnUnsubscribeEvent OnUnsubscribe Event Type Type Description OnUnsubscribeEvent" + "keywords": "Class DiscordRpcClient A Discord RPC Client which is used to send Rich Presence updates and receive Join / Spectate events. Inheritance System.Object DiscordRpcClient Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public sealed class DiscordRpcClient : IDisposable Constructors | Improve this Doc View Source DiscordRpcClient(String) Creates a new Discord RPC Client which can be used to send Rich Presence and receive Join / Spectate events. Declaration public DiscordRpcClient(string applicationID) Parameters Type Name Description System.String applicationID The ID of the application created at discord's developers portal. | Improve this Doc View Source DiscordRpcClient(String, Int32, ILogger, Boolean, INamedPipeClient) Creates a new Discord RPC Client which can be used to send Rich Presence and receive Join / Spectate events. This constructor exposes more advance features such as custom NamedPipeClients and Loggers. Declaration public DiscordRpcClient(string applicationID, int pipe = null, ILogger logger = null, bool autoEvents = true, INamedPipeClient client = null) Parameters Type Name Description System.String applicationID The ID of the application created at discord's developers portal. System.Int32 pipe The pipe to connect too. If -1, then the client will scan for the first available instance of Discord. ILogger logger The logger used to report messages. If null, then a NullLogger will be created and logs will be ignored. System.Boolean autoEvents Should events be automatically invoked from the RPC Thread as they arrive from discord? INamedPipeClient client The pipe client to use and communicate to discord through. If null, the default ManagedNamedPipeClient will be used. Properties | Improve this Doc View Source ApplicationID Gets the Application ID of the RPC Client. Declaration public string ApplicationID { get; } Property Value Type Description System.String | Improve this Doc View Source AutoEvents Indicates if the client will automatically invoke the events without Invoke() having to be called. Declaration public bool AutoEvents { get; } Property Value Type Description System.Boolean | Improve this Doc View Source Configuration The current configuration the connection is using. Only becomes available after a ready event. Declaration public Configuration Configuration { get; } Property Value Type Description Configuration | Improve this Doc View Source CurrentPresence The current presence that the client has. Gets set with SetPresence(RichPresence) and updated on OnPresenceUpdate . Declaration public RichPresence CurrentPresence { get; } Property Value Type Description RichPresence | Improve this Doc View Source CurrentUser The current discord user. This is updated with the ready event and will be null until the event is fired from the connection. Declaration public User CurrentUser { get; } Property Value Type Description User | Improve this Doc View Source HasRegisteredUriScheme Gets a value indicating if the client has registered a URI Scheme. If this is false, Join / Spectate events will fail. To register a URI Scheme, call . Declaration public bool HasRegisteredUriScheme { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsDisposed The dispose state of the client object. Declaration public bool IsDisposed { get; } Property Value Type Description System.Boolean | Improve this Doc View Source IsInitialized Represents if the client has been Initialize() Declaration public bool IsInitialized { get; } Property Value Type Description System.Boolean | Improve this Doc View Source Logger The logger used this client and its associated components. ILogger are not called safely and can come from any thread. It is upto the ILogger to account for this and apply appropriate thread safe methods. Declaration public ILogger Logger { get; set; } Property Value Type Description ILogger | Improve this Doc View Source MaxQueueSize The maximum size of the message queue received from Discord. Declaration public int MaxQueueSize { get; } Property Value Type Description System.Int32 | Improve this Doc View Source ProcessID Gets the ID of the process used to run the RPC Client. Discord tracks this process ID and waits for its termination. Defaults to the current application process ID. Declaration public int ProcessID { get; } Property Value Type Description System.Int32 | Improve this Doc View Source ShutdownOnly Forces the connection to shutdown gracefully instead of just aborting the connection. This option helps prevents ghosting in applications where the Process ID is a host and the game is executed within the host (ie: the Unity3D editor). This will tell Discord that we have no presence and we are closing the connection manually, instead of waiting for the process to terminate. Declaration public bool ShutdownOnly { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source SkipIdenticalPresence Skips sending presences that are identical to the current one. Declaration public bool SkipIdenticalPresence { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source SteamID Gets the Steam ID of the RPC Client. This value can be null if none was supplied. Declaration public string SteamID { get; } Property Value Type Description System.String | Improve this Doc View Source Subscription Current subscription to events. Gets set with Subscribe(EventType) , UnsubscribeMessage and updated on OnSubscribe , OnUnsubscribe . Declaration public EventType Subscription { get; } Property Value Type Description EventType | Improve this Doc View Source TargetPipe The pipe the discord client is on, ranging from 0 to 9. Use -1 to scan through all pipes. This property can be used for testing multiple clients. For example, if a Discord Client was on pipe 0, the Discord Canary is most likely on pipe 1. Declaration public int TargetPipe { get; } Property Value Type Description System.Int32 Methods | Improve this Doc View Source ClearPresence() Clears the Rich Presence. Use this just before disposal to prevent ghosting. Declaration public void ClearPresence() | Improve this Doc View Source Deinitialize() Attempts to disconnect and deinitialize the IPC connection while retaining the settings. Declaration public void Deinitialize() | Improve this Doc View Source Dispose() Terminates the connection to Discord and disposes of the object. Declaration public void Dispose() | Improve this Doc View Source Initialize() Attempts to initalize a connection to the Discord IPC. Declaration public bool Initialize() Returns Type Description System.Boolean | Improve this Doc View Source Invoke() Dequeues all the messages from Discord, processes them and then invoke appropriate event handlers. This will process the message and update the internal state before invoking the events. Returns the messages that were invoked in the order they were invoked. This method cannot be used if AutoEvents is enabled. Declaration public IMessage[] Invoke() Returns Type Description IMessage [] Returns the messages that were invoked and in the order they were invoked. | Improve this Doc View Source Respond(JoinRequestMessage, Boolean) Respond to a Join Request. All requests will timeout after 30 seconds. Because of the 30 second timeout, it is recommended to call Invoke() faster than every 15 seconds to give your users adequate time to respond to the request. Declaration public void Respond(JoinRequestMessage request, bool acceptRequest) Parameters Type Name Description JoinRequestMessage request The request that is being responded too. System.Boolean acceptRequest Accept the join request. | Improve this Doc View Source SetButton(Button, Int32) Updates only the Buttons of the CurrentPresence and updates the button with the given index. Returns the newly edited Rich Presence. Declaration public RichPresence SetButton(Button button, int index = 0) Parameters Type Name Description Button button The buttons of the Rich Presence System.Int32 index The number of the button Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source SetPresence(RichPresence) Sets the Rich Presence. Declaration public void SetPresence(RichPresence presence) Parameters Type Name Description RichPresence presence The Rich Presence to set on the current Discord user. | Improve this Doc View Source SetSubscription(EventType) Sets the subscription to the events sent from Discord. Requires the UriScheme to be registered. Declaration public void SetSubscription(EventType type) Parameters Type Name Description EventType type The new subscription as a flag. Events selected in the flag will be subscribed too and the other events will be unsubscribed. | Improve this Doc View Source Subscribe(EventType) Subscribes to an event sent from discord. Used for Join / Spectate feature. Requires the UriScheme to be registered. Declaration public void Subscribe(EventType type) Parameters Type Name Description EventType type The event type to subscribe to | Improve this Doc View Source SynchronizeState() Resends the current presence and subscription. This is used when Ready is called to keep the current state within discord. Declaration public void SynchronizeState() | Improve this Doc View Source Unsubscribe(EventType) Unsubscribe from the event sent by discord. Used for Join / Spectate feature. Requires the UriScheme to be registered. Declaration public void Unsubscribe(EventType type) Parameters Type Name Description EventType type The event type to unsubscribe from | Improve this Doc View Source Unubscribe(EventType) Declaration public void Unubscribe(EventType type) Parameters Type Name Description EventType type | Improve this Doc View Source UpdateButtons(Button[]) Updates only the Buttons of the CurrentPresence and updates/removes the buttons. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateButtons(Button[] button = null) Parameters Type Name Description Button [] button The buttons of the Rich Presence Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateClearTime() Sets the start and end time of CurrentPresence to null and sends it to Discord. Declaration public RichPresence UpdateClearTime() Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateDetails(String) Updates only the Details of the CurrentPresence and sends the updated presence to Discord. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateDetails(string details) Parameters Type Name Description System.String details The details of the Rich Presence Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateEndTime() Sets the end time of the CurrentPresence to now and sends the updated presence to Discord. Declaration public RichPresence UpdateEndTime() Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateEndTime(DateTime) Sets the end time of the CurrentPresence and sends the updated presence to Discord. Declaration public RichPresence UpdateEndTime(DateTime time) Parameters Type Name Description DateTime time The new time for the end Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateLargeAsset(String, String) Updates the large Assets of the CurrentPresence and sends the updated presence to Discord. Both key and tooltip are optional and will be ignored it null. Declaration public RichPresence UpdateLargeAsset(string key = null, string tooltip = null) Parameters Type Name Description System.String key Optional: The new key to set the asset too System.String tooltip Optional: The new tooltip to display on the asset Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateParty(Party) Updates only the Party of the CurrentPresence and sends the updated presence to Discord. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateParty(Party party) Parameters Type Name Description Party party The party of the Rich Presence Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdatePartySize(Int32) Updates the Size of the CurrentPresence and sends the update presence to Discord. Returns the newly edited Rich Presence. Will return null if no presence exists and will throw a new if the Party does not exist. Declaration public RichPresence UpdatePartySize(int size) Parameters Type Name Description System.Int32 size The new size of the party. It cannot be greater than Max Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdatePartySize(Int32, Int32) Updates the Size of the CurrentPresence and sends the update presence to Discord. Returns the newly edited Rich Presence. Will return null if no presence exists and will throw a new if the Party does not exist. Declaration public RichPresence UpdatePartySize(int size, int max) Parameters Type Name Description System.Int32 size The new size of the party. It cannot be greater than Max System.Int32 max The new size of the party. It cannot be smaller than Size Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateSecrets(Secrets) Updates the Secrets of the CurrentPresence and sends the updated presence to Discord. Will override previous secret entirely. Declaration public RichPresence UpdateSecrets(Secrets secrets) Parameters Type Name Description Secrets secrets The new secret to send to discord. Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateSmallAsset(String, String) Updates the small Assets of the CurrentPresence and sends the updated presence to Discord. Both key and tooltip are optional and will be ignored it null. Declaration public RichPresence UpdateSmallAsset(string key = null, string tooltip = null) Parameters Type Name Description System.String key Optional: The new key to set the asset too System.String tooltip Optional: The new tooltip to display on the asset Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateStartTime() Sets the start time of the CurrentPresence to now and sends the updated presence to Discord. Declaration public RichPresence UpdateStartTime() Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateStartTime(DateTime) Sets the start time of the CurrentPresence and sends the updated presence to Discord. Declaration public RichPresence UpdateStartTime(DateTime time) Parameters Type Name Description DateTime time The new time for the start Returns Type Description RichPresence Updated Rich Presence | Improve this Doc View Source UpdateState(String) Updates only the State of the CurrentPresence and sends the updated presence to Discord. Returns the newly edited Rich Presence. Declaration public RichPresence UpdateState(string state) Parameters Type Name Description System.String state The state of the Rich Presence Returns Type Description RichPresence Updated Rich Presence Events | Improve this Doc View Source OnClose Called when connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnCloseEvent OnClose Event Type Type Description OnCloseEvent | Improve this Doc View Source OnConnectionEstablished The connection to the discord client was succesfull. This is called before Ready . If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnConnectionEstablishedEvent OnConnectionEstablished Event Type Type Description OnConnectionEstablishedEvent | Improve this Doc View Source OnConnectionFailed Failed to establish any connection with discord. Discord is potentially not running? If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnConnectionFailedEvent OnConnectionFailed Event Type Type Description OnConnectionFailedEvent | Improve this Doc View Source OnError Called when a error has occured during the transmission of a message. For example, if a bad Rich Presence payload is sent, this event will be called explaining what went wrong. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnErrorEvent OnError Event Type Type Description OnErrorEvent | Improve this Doc View Source OnJoin Called when the Discord Client wishes for this process to join a game. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnJoinEvent OnJoin Event Type Type Description OnJoinEvent | Improve this Doc View Source OnJoinRequested Called when another discord user requests permission to join this game. This event is not invoked untill Invoke() is executed. Declaration public event OnJoinRequestedEvent OnJoinRequested Event Type Type Description OnJoinRequestedEvent | Improve this Doc View Source OnPresenceUpdate Called when the Discord Client has updated the presence. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnPresenceUpdateEvent OnPresenceUpdate Event Type Type Description OnPresenceUpdateEvent | Improve this Doc View Source OnReady Called when the discord client is ready to send and receive messages. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnReadyEvent OnReady Event Type Type Description OnReadyEvent | Improve this Doc View Source OnRpcMessage The RPC Connection has sent a message. Called before any other event and executed from the RPC Thread. Declaration public event OnRpcMessageEvent OnRpcMessage Event Type Type Description OnRpcMessageEvent | Improve this Doc View Source OnSpectate Called when the Discord Client wishes for this process to spectate a game. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnSpectateEvent OnSpectate Event Type Type Description OnSpectateEvent | Improve this Doc View Source OnSubscribe Called when the Discord Client has subscribed to an event. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnSubscribeEvent OnSubscribe Event Type Type Description OnSubscribeEvent | Improve this Doc View Source OnUnsubscribe Called when the Discord Client has unsubscribed from an event. If AutoEvents is true then this event will execute on a different thread. If it is not true however, then this event is not invoked untill Invoke() and will be on the calling thread. Declaration public event OnUnsubscribeEvent OnUnsubscribe Event Type Type Description OnUnsubscribeEvent" }, "api/DiscordRPC.Events.html": { "href": "api/DiscordRPC.Events.html", @@ -32,62 +32,62 @@ "api/DiscordRPC.Events.OnCloseEvent.html": { "href": "api/DiscordRPC.Events.OnCloseEvent.html", "title": "Delegate OnCloseEvent | Discord RPC C#", - "keywords": "Delegate OnCloseEvent Called when connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnCloseEvent(object sender, CloseMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event CloseMessage args The arguments supplied with the event" + "keywords": "Delegate OnCloseEvent Called when connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnCloseEvent(object sender, CloseMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event CloseMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnConnectionEstablishedEvent.html": { "href": "api/DiscordRPC.Events.OnConnectionEstablishedEvent.html", "title": "Delegate OnConnectionEstablishedEvent | Discord RPC C#", - "keywords": "Delegate OnConnectionEstablishedEvent The connection to the discord client was succesfull. This is called before OnReadyEvent . Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnConnectionEstablishedEvent(object sender, ConnectionEstablishedMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event ConnectionEstablishedMessage args The arguments supplied with the event" + "keywords": "Delegate OnConnectionEstablishedEvent The connection to the discord client was succesfull. This is called before OnReadyEvent . Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnConnectionEstablishedEvent(object sender, ConnectionEstablishedMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event ConnectionEstablishedMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnConnectionFailedEvent.html": { "href": "api/DiscordRPC.Events.OnConnectionFailedEvent.html", "title": "Delegate OnConnectionFailedEvent | Discord RPC C#", - "keywords": "Delegate OnConnectionFailedEvent Failed to establish any connection with discord. Discord is potentially not running? Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnConnectionFailedEvent(object sender, ConnectionFailedMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event ConnectionFailedMessage args The arguments supplied with the event" + "keywords": "Delegate OnConnectionFailedEvent Failed to establish any connection with discord. Discord is potentially not running? Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnConnectionFailedEvent(object sender, ConnectionFailedMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event ConnectionFailedMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnErrorEvent.html": { "href": "api/DiscordRPC.Events.OnErrorEvent.html", "title": "Delegate OnErrorEvent | Discord RPC C#", - "keywords": "Delegate OnErrorEvent Called when a error has occured during the transmission of a message. For example, if a bad Rich Presence payload is sent, this event will be called explaining what went wrong. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnErrorEvent(object sender, ErrorMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event ErrorMessage args The arguments supplied with the event" + "keywords": "Delegate OnErrorEvent Called when a error has occured during the transmission of a message. For example, if a bad Rich Presence payload is sent, this event will be called explaining what went wrong. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnErrorEvent(object sender, ErrorMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event ErrorMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnJoinEvent.html": { "href": "api/DiscordRPC.Events.OnJoinEvent.html", "title": "Delegate OnJoinEvent | Discord RPC C#", - "keywords": "Delegate OnJoinEvent Called when the Discord Client wishes for this process to join a game. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnJoinEvent(object sender, JoinMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event JoinMessage args The arguments supplied with the event" + "keywords": "Delegate OnJoinEvent Called when the Discord Client wishes for this process to join a game. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnJoinEvent(object sender, JoinMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event JoinMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnJoinRequestedEvent.html": { "href": "api/DiscordRPC.Events.OnJoinRequestedEvent.html", "title": "Delegate OnJoinRequestedEvent | Discord RPC C#", - "keywords": "Delegate OnJoinRequestedEvent Called when another discord user requests permission to join this game. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnJoinRequestedEvent(object sender, JoinRequestMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event JoinRequestMessage args The arguments supplied with the event" + "keywords": "Delegate OnJoinRequestedEvent Called when another discord user requests permission to join this game. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnJoinRequestedEvent(object sender, JoinRequestMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event JoinRequestMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnPresenceUpdateEvent.html": { "href": "api/DiscordRPC.Events.OnPresenceUpdateEvent.html", "title": "Delegate OnPresenceUpdateEvent | Discord RPC C#", - "keywords": "Delegate OnPresenceUpdateEvent Called when the Discord Client has updated the presence. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnPresenceUpdateEvent(object sender, PresenceMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event PresenceMessage args The arguments supplied with the event" + "keywords": "Delegate OnPresenceUpdateEvent Called when the Discord Client has updated the presence. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnPresenceUpdateEvent(object sender, PresenceMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event PresenceMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnReadyEvent.html": { "href": "api/DiscordRPC.Events.OnReadyEvent.html", "title": "Delegate OnReadyEvent | Discord RPC C#", - "keywords": "Delegate OnReadyEvent Called when the Discord Client is ready to send and receive messages. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnReadyEvent(object sender, ReadyMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event ReadyMessage args The arguments supplied with the event" + "keywords": "Delegate OnReadyEvent Called when the Discord Client is ready to send and receive messages. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnReadyEvent(object sender, ReadyMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event ReadyMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnRpcMessageEvent.html": { "href": "api/DiscordRPC.Events.OnRpcMessageEvent.html", "title": "Delegate OnRpcMessageEvent | Discord RPC C#", - "keywords": "Delegate OnRpcMessageEvent A RPC Message is received. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnRpcMessageEvent(object sender, IMessage msg); Parameters Type Name Description Object sender The handler that sent this event IMessage msg The raw message from the RPC" + "keywords": "Delegate OnRpcMessageEvent A RPC Message is received. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnRpcMessageEvent(object sender, IMessage msg); Parameters Type Name Description System.Object sender The handler that sent this event IMessage msg The raw message from the RPC" }, "api/DiscordRPC.Events.OnSpectateEvent.html": { "href": "api/DiscordRPC.Events.OnSpectateEvent.html", "title": "Delegate OnSpectateEvent | Discord RPC C#", - "keywords": "Delegate OnSpectateEvent Called when the Discord Client wishes for this process to spectate a game. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnSpectateEvent(object sender, SpectateMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event SpectateMessage args The arguments supplied with the event" + "keywords": "Delegate OnSpectateEvent Called when the Discord Client wishes for this process to spectate a game. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnSpectateEvent(object sender, SpectateMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event SpectateMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnSubscribeEvent.html": { "href": "api/DiscordRPC.Events.OnSubscribeEvent.html", "title": "Delegate OnSubscribeEvent | Discord RPC C#", - "keywords": "Delegate OnSubscribeEvent Called when the Discord Client has subscribed to an event. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnSubscribeEvent(object sender, SubscribeMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event SubscribeMessage args The arguments supplied with the event" + "keywords": "Delegate OnSubscribeEvent Called when the Discord Client has subscribed to an event. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnSubscribeEvent(object sender, SubscribeMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event SubscribeMessage args The arguments supplied with the event" }, "api/DiscordRPC.Events.OnUnsubscribeEvent.html": { "href": "api/DiscordRPC.Events.OnUnsubscribeEvent.html", "title": "Delegate OnUnsubscribeEvent | Discord RPC C#", - "keywords": "Delegate OnUnsubscribeEvent Called when the Discord Client has unsubscribed from an event. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnUnsubscribeEvent(object sender, UnsubscribeMessage args); Parameters Type Name Description Object sender The Discord client handler that sent this event UnsubscribeMessage args The arguments supplied with the event" + "keywords": "Delegate OnUnsubscribeEvent Called when the Discord Client has unsubscribed from an event. Namespace : DiscordRPC.Events Assembly : DiscordRPC.dll Syntax public delegate void OnUnsubscribeEvent(object sender, UnsubscribeMessage args); Parameters Type Name Description System.Object sender The Discord client handler that sent this event UnsubscribeMessage args The arguments supplied with the event" }, "api/DiscordRPC.EventType.html": { "href": "api/DiscordRPC.EventType.html", @@ -97,7 +97,7 @@ "api/DiscordRPC.Exceptions.BadPresenceException.html": { "href": "api/DiscordRPC.Exceptions.BadPresenceException.html", "title": "Class BadPresenceException | Discord RPC C#", - "keywords": "Class BadPresenceException A BadPresenceException is thrown when invalid, incompatible or conflicting properties and is unable to be sent. Inheritance Object BadPresenceException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class BadPresenceException : Exception" + "keywords": "Class BadPresenceException A BadPresenceException is thrown when invalid, incompatible or conflicting properties and is unable to be sent. Inheritance System.Object BadPresenceException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class BadPresenceException : Exception" }, "api/DiscordRPC.Exceptions.html": { "href": "api/DiscordRPC.Exceptions.html", @@ -107,22 +107,22 @@ "api/DiscordRPC.Exceptions.InvalidConfigurationException.html": { "href": "api/DiscordRPC.Exceptions.InvalidConfigurationException.html", "title": "Class InvalidConfigurationException | Discord RPC C#", - "keywords": "Class InvalidConfigurationException A InvalidConfigurationException is thrown when trying to perform a action that conflicts with the current configuration. Inheritance Object InvalidConfigurationException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class InvalidConfigurationException : Exception" + "keywords": "Class InvalidConfigurationException A InvalidConfigurationException is thrown when trying to perform a action that conflicts with the current configuration. Inheritance System.Object InvalidConfigurationException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class InvalidConfigurationException : Exception" }, "api/DiscordRPC.Exceptions.InvalidPipeException.html": { "href": "api/DiscordRPC.Exceptions.InvalidPipeException.html", "title": "Class InvalidPipeException | Discord RPC C#", - "keywords": "Class InvalidPipeException The exception that is thrown when a error occurs while communicating with a pipe or when a connection attempt fails. Inheritance Object InvalidPipeException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class InvalidPipeException : Exception" + "keywords": "Class InvalidPipeException The exception that is thrown when a error occurs while communicating with a pipe or when a connection attempt fails. Inheritance System.Object InvalidPipeException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class InvalidPipeException : Exception" }, "api/DiscordRPC.Exceptions.StringOutOfRangeException.html": { "href": "api/DiscordRPC.Exceptions.StringOutOfRangeException.html", "title": "Class StringOutOfRangeException | Discord RPC C#", - "keywords": "Class StringOutOfRangeException A StringOutOfRangeException is thrown when the length of a string exceeds the allowed limit. Inheritance Object StringOutOfRangeException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class StringOutOfRangeException : Exception Properties | Improve this Doc View Source MaximumLength Maximum length the string is allowed to be. Declaration public int MaximumLength { get; } Property Value Type Description Int32 | Improve this Doc View Source MinimumLength Minimum length the string is allowed to be. Declaration public int MinimumLength { get; } Property Value Type Description Int32" + "keywords": "Class StringOutOfRangeException A StringOutOfRangeException is thrown when the length of a string exceeds the allowed limit. Inheritance System.Object StringOutOfRangeException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class StringOutOfRangeException : Exception Properties | Improve this Doc View Source MaximumLength Maximum length the string is allowed to be. Declaration public int MaximumLength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source MinimumLength Minimum length the string is allowed to be. Declaration public int MinimumLength { get; } Property Value Type Description System.Int32" }, "api/DiscordRPC.Exceptions.UninitializedException.html": { "href": "api/DiscordRPC.Exceptions.UninitializedException.html", "title": "Class UninitializedException | Discord RPC C#", - "keywords": "Class UninitializedException Thrown when an action is performed on a client that has not yet been initialized Inheritance Object UninitializedException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class UninitializedException : Exception" + "keywords": "Class UninitializedException Thrown when an action is performed on a client that has not yet been initialized Inheritance System.Object UninitializedException Namespace : DiscordRPC.Exceptions Assembly : DiscordRPC.dll Syntax public class UninitializedException : Exception" }, "api/DiscordRPC.Helper.html": { "href": "api/DiscordRPC.Helper.html", @@ -132,7 +132,7 @@ "api/DiscordRPC.Helper.StringTools.html": { "href": "api/DiscordRPC.Helper.StringTools.html", "title": "Class StringTools | Discord RPC C#", - "keywords": "Class StringTools Collectin of helpful string extensions Inheritance Object StringTools Namespace : DiscordRPC.Helper Assembly : DiscordRPC.dll Syntax public static class StringTools : object Methods | Improve this Doc View Source GetNullOrString(String) Will return null if the string is whitespace, otherwise it will return the string. Declaration public static string GetNullOrString(this string str) Parameters Type Name Description String str The string to check Returns Type Description String Null if the string is empty, otherwise the string | Improve this Doc View Source ToCamelCase(String) Converts the string into UpperCamelCase (Pascal Case). Declaration public static string ToCamelCase(this string str) Parameters Type Name Description String str The string to convert Returns Type Description String | Improve this Doc View Source ToSnakeCase(String) Converts the string into UPPER_SNAKE_CASE Declaration public static string ToSnakeCase(this string str) Parameters Type Name Description String str The string to convert Returns Type Description String | Improve this Doc View Source WithinLength(String, Int32) Does the string fit within the given amount of bytes? Uses UTF8 encoding. Declaration public static bool WithinLength(this string str, int bytes) Parameters Type Name Description String str The string to check Int32 bytes The maximum number of bytes the string can take up Returns Type Description Boolean True if the string fits within the number of bytes | Improve this Doc View Source WithinLength(String, Int32, Encoding) Does the string fit within the given amount of bytes? Declaration public static bool WithinLength(this string str, int bytes, Encoding encoding) Parameters Type Name Description String str The string to check Int32 bytes The maximum number of bytes the string can take up Encoding encoding The encoding to count the bytes with Returns Type Description Boolean True if the string fits within the number of bytes" + "keywords": "Class StringTools Collectin of helpful string extensions Inheritance System.Object StringTools Namespace : DiscordRPC.Helper Assembly : DiscordRPC.dll Syntax public static class StringTools : object Methods | Improve this Doc View Source GetNullOrString(String) Will return null if the string is whitespace, otherwise it will return the string. Declaration public static string GetNullOrString(this string str) Parameters Type Name Description System.String str The string to check Returns Type Description System.String Null if the string is empty, otherwise the string | Improve this Doc View Source ToCamelCase(String) Converts the string into UpperCamelCase (Pascal Case). Declaration public static string ToCamelCase(this string str) Parameters Type Name Description System.String str The string to convert Returns Type Description System.String | Improve this Doc View Source ToSnakeCase(String) Converts the string into UPPER_SNAKE_CASE Declaration public static string ToSnakeCase(this string str) Parameters Type Name Description System.String str The string to convert Returns Type Description System.String | Improve this Doc View Source WithinLength(String, Int32) Does the string fit within the given amount of bytes? Uses UTF8 encoding. Declaration public static bool WithinLength(this string str, int bytes) Parameters Type Name Description System.String str The string to check System.Int32 bytes The maximum number of bytes the string can take up Returns Type Description System.Boolean True if the string fits within the number of bytes | Improve this Doc View Source WithinLength(String, Int32, Encoding) Does the string fit within the given amount of bytes? Declaration public static bool WithinLength(this string str, int bytes, Encoding encoding) Parameters Type Name Description System.String str The string to check System.Int32 bytes The maximum number of bytes the string can take up Encoding encoding The encoding to count the bytes with Returns Type Description System.Boolean True if the string fits within the number of bytes" }, "api/DiscordRPC.html": { "href": "api/DiscordRPC.html", @@ -147,12 +147,12 @@ "api/DiscordRPC.IO.INamedPipeClient.html": { "href": "api/DiscordRPC.IO.INamedPipeClient.html", "title": "Interface INamedPipeClient | Discord RPC C#", - "keywords": "Interface INamedPipeClient Pipe Client used to communicate with Discord. Namespace : DiscordRPC.IO Assembly : DiscordRPC.dll Syntax public interface INamedPipeClient Properties | Improve this Doc View Source ConnectedPipe The pipe the client is currently connected too Declaration int ConnectedPipe { get; } Property Value Type Description Int32 | Improve this Doc View Source IsConnected Is the pipe client currently connected? Declaration bool IsConnected { get; } Property Value Type Description Boolean | Improve this Doc View Source Logger The logger for the Pipe client to use Declaration ILogger Logger { get; set; } Property Value Type Description ILogger Methods | Improve this Doc View Source Close() Closes the connection Declaration void Close() | Improve this Doc View Source Connect(Int32) Attempts to connect to the pipe. If 0-9 is passed to pipe, it should try to only connect to the specified pipe. If -1 is passed, the pipe will find the first available pipe. Declaration bool Connect(int pipe) Parameters Type Name Description Int32 pipe If -1 is passed, the pipe will find the first available pipe, otherwise it connects to the pipe that was supplied Returns Type Description Boolean | Improve this Doc View Source ReadFrame(out PipeFrame) Reads a frame if there is one available. Returns false if there is none. This should be non blocking (aka use a Peek first). Declaration bool ReadFrame(out PipeFrame frame) Parameters Type Name Description PipeFrame frame The frame that has been read. Will be default(PipeFrame) if it fails to read Returns Type Description Boolean Returns true if a frame has been read, otherwise false. | Improve this Doc View Source WriteFrame(PipeFrame) Writes the frame to the pipe. Returns false if any errors occur. Declaration bool WriteFrame(PipeFrame frame) Parameters Type Name Description PipeFrame frame The frame to be written Returns Type Description Boolean" + "keywords": "Interface INamedPipeClient Pipe Client used to communicate with Discord. Namespace : DiscordRPC.IO Assembly : DiscordRPC.dll Syntax public interface INamedPipeClient Properties | Improve this Doc View Source ConnectedPipe The pipe the client is currently connected too Declaration int ConnectedPipe { get; } Property Value Type Description System.Int32 | Improve this Doc View Source IsConnected Is the pipe client currently connected? Declaration bool IsConnected { get; } Property Value Type Description System.Boolean | Improve this Doc View Source Logger The logger for the Pipe client to use Declaration ILogger Logger { get; set; } Property Value Type Description ILogger Methods | Improve this Doc View Source Close() Closes the connection Declaration void Close() | Improve this Doc View Source Connect(Int32) Attempts to connect to the pipe. If 0-9 is passed to pipe, it should try to only connect to the specified pipe. If -1 is passed, the pipe will find the first available pipe. Declaration bool Connect(int pipe) Parameters Type Name Description System.Int32 pipe If -1 is passed, the pipe will find the first available pipe, otherwise it connects to the pipe that was supplied Returns Type Description System.Boolean | Improve this Doc View Source ReadFrame(out PipeFrame) Reads a frame if there is one available. Returns false if there is none. This should be non blocking (aka use a Peek first). Declaration bool ReadFrame(out PipeFrame frame) Parameters Type Name Description PipeFrame frame The frame that has been read. Will be default(PipeFrame) if it fails to read Returns Type Description System.Boolean Returns true if a frame has been read, otherwise false. | Improve this Doc View Source WriteFrame(PipeFrame) Writes the frame to the pipe. Returns false if any errors occur. Declaration bool WriteFrame(PipeFrame frame) Parameters Type Name Description PipeFrame frame The frame to be written Returns Type Description System.Boolean" }, "api/DiscordRPC.IO.ManagedNamedPipeClient.html": { "href": "api/DiscordRPC.IO.ManagedNamedPipeClient.html", "title": "Class ManagedNamedPipeClient | Discord RPC C#", - "keywords": "Class ManagedNamedPipeClient A named pipe client using the .NET framework Inheritance Object ManagedNamedPipeClient Implements INamedPipeClient IDisposable Namespace : DiscordRPC.IO Assembly : DiscordRPC.dll Syntax public sealed class ManagedNamedPipeClient : object, INamedPipeClient Constructors | Improve this Doc View Source ManagedNamedPipeClient() Creates a new instance of a Managed NamedPipe client. Doesn't connect to anything yet, just setups the values. Declaration public ManagedNamedPipeClient() Properties | Improve this Doc View Source ConnectedPipe The pipe we are currently connected too. Declaration public int ConnectedPipe { get; } Property Value Type Description Int32 | Improve this Doc View Source IsConnected Checks if the client is connected Declaration public bool IsConnected { get; } Property Value Type Description Boolean | Improve this Doc View Source Logger The logger for the Pipe client to use Declaration public ILogger Logger { get; set; } Property Value Type Description ILogger Methods | Improve this Doc View Source Close() Closes the pipe Declaration public void Close() | Improve this Doc View Source Connect(Int32) Connects to the pipe Declaration public bool Connect(int pipe) Parameters Type Name Description Int32 pipe Returns Type Description Boolean | Improve this Doc View Source Dispose() Disposes of the stream Declaration public void Dispose() | Improve this Doc View Source GetPipeName(Int32) returns a platform specific path that Discord is hosting the IPC on. Declaration public static string GetPipeName(int pipe) Parameters Type Name Description Int32 pipe The pipe number Returns Type Description String | Improve this Doc View Source GetPipeName(Int32, String) Returns a platform specific path that Discord is hosting the IPC on. Declaration public static string GetPipeName(int pipe, string sandbox) Parameters Type Name Description Int32 pipe The pipe number. String sandbox The sandbox environment the pipe is in Returns Type Description String | Improve this Doc View Source GetPipeSandbox() Gets the name of the possible sandbox enviroment the pipe might be located within. If the platform doesn't support sandboxed Discord, then it will return null. Declaration public static string GetPipeSandbox() Returns Type Description String | Improve this Doc View Source IsUnix() Returns true if the current OS platform is Unix based (Unix or MacOSX). Declaration public static bool IsUnix() Returns Type Description Boolean | Improve this Doc View Source ReadFrame(out PipeFrame) Reads a frame, returning false if none are available Declaration public bool ReadFrame(out PipeFrame frame) Parameters Type Name Description PipeFrame frame Returns Type Description Boolean | Improve this Doc View Source WriteFrame(PipeFrame) Writes a frame to the pipe Declaration public bool WriteFrame(PipeFrame frame) Parameters Type Name Description PipeFrame frame Returns Type Description Boolean Implements INamedPipeClient IDisposable" + "keywords": "Class ManagedNamedPipeClient A named pipe client using the .NET framework Inheritance System.Object ManagedNamedPipeClient Implements INamedPipeClient IDisposable Namespace : DiscordRPC.IO Assembly : DiscordRPC.dll Syntax public sealed class ManagedNamedPipeClient : object, INamedPipeClient Constructors | Improve this Doc View Source ManagedNamedPipeClient() Creates a new instance of a Managed NamedPipe client. Doesn't connect to anything yet, just setups the values. Declaration public ManagedNamedPipeClient() Properties | Improve this Doc View Source ConnectedPipe The pipe we are currently connected too. Declaration public int ConnectedPipe { get; } Property Value Type Description System.Int32 | Improve this Doc View Source IsConnected Checks if the client is connected Declaration public bool IsConnected { get; } Property Value Type Description System.Boolean | Improve this Doc View Source Logger The logger for the Pipe client to use Declaration public ILogger Logger { get; set; } Property Value Type Description ILogger Methods | Improve this Doc View Source Close() Closes the pipe Declaration public void Close() | Improve this Doc View Source Connect(Int32) Connects to the pipe Declaration public bool Connect(int pipe) Parameters Type Name Description System.Int32 pipe Returns Type Description System.Boolean | Improve this Doc View Source Dispose() Disposes of the stream Declaration public void Dispose() | Improve this Doc View Source GetPipeName(Int32) returns a platform specific path that Discord is hosting the IPC on. Declaration public static string GetPipeName(int pipe) Parameters Type Name Description System.Int32 pipe The pipe number Returns Type Description System.String | Improve this Doc View Source GetPipeName(Int32, String) Returns a platform specific path that Discord is hosting the IPC on. Declaration public static string GetPipeName(int pipe, string sandbox) Parameters Type Name Description System.Int32 pipe The pipe number. System.String sandbox The sandbox environment the pipe is in Returns Type Description System.String | Improve this Doc View Source GetPipeSandbox() Gets the name of the possible sandbox environment the pipe might be located within. If the platform doesn't support sandboxed Discord, then it will return null. Declaration public static string GetPipeSandbox() Returns Type Description System.String | Improve this Doc View Source IsUnix() Returns true if the current OS platform is Unix based (Unix or MacOSX). Declaration public static bool IsUnix() Returns Type Description System.Boolean | Improve this Doc View Source ReadFrame(out PipeFrame) Reads a frame, returning false if none are available Declaration public bool ReadFrame(out PipeFrame frame) Parameters Type Name Description PipeFrame frame Returns Type Description System.Boolean | Improve this Doc View Source WriteFrame(PipeFrame) Writes a frame to the pipe Declaration public bool WriteFrame(PipeFrame frame) Parameters Type Name Description PipeFrame frame Returns Type Description System.Boolean Implements INamedPipeClient IDisposable" }, "api/DiscordRPC.IO.Opcode.html": { "href": "api/DiscordRPC.IO.Opcode.html", @@ -162,17 +162,17 @@ "api/DiscordRPC.IO.PipeFrame.html": { "href": "api/DiscordRPC.IO.PipeFrame.html", "title": "Struct PipeFrame | Discord RPC C#", - "keywords": "Struct PipeFrame A frame received and sent to the Discord client for RPC communications. Implements IEquatable < PipeFrame > Namespace : DiscordRPC.IO Assembly : DiscordRPC.dll Syntax public struct PipeFrame Constructors | Improve this Doc View Source PipeFrame(Opcode, Object) Creates a new pipe frame instance Declaration public PipeFrame(Opcode opcode, object data) Parameters Type Name Description Opcode opcode The opcode of the frame Object data The data of the frame that will be serialized as JSON Fields | Improve this Doc View Source MAX_SIZE The maxium size of a pipe frame (16kb). Declaration public static readonly int MAX_SIZE Field Value Type Description Int32 Properties | Improve this Doc View Source Data The data in the frame Declaration public byte[] Data { get; set; } Property Value Type Description Byte [] | Improve this Doc View Source Length The length of the frame data Declaration public readonly uint Length { get; } Property Value Type Description UInt32 | Improve this Doc View Source Message The data represented as a string. Declaration public string Message { get; set; } Property Value Type Description String | Improve this Doc View Source MessageEncoding Gets the encoding used for the pipe frames Declaration public readonly Encoding MessageEncoding { get; } Property Value Type Description Encoding | Improve this Doc View Source Opcode The opcode of the frame Declaration public Opcode Opcode { get; set; } Property Value Type Description Opcode Methods | Improve this Doc View Source Equals(PipeFrame) Compares if the frame equals the other frame. Declaration public bool Equals(PipeFrame other) Parameters Type Name Description PipeFrame other Returns Type Description Boolean | Improve this Doc View Source GetObject() Deserializes the data into the supplied type using JSON. Declaration public T GetObject() Returns Type Description T Type Parameters Name Description T The type to deserialize into | Improve this Doc View Source ReadStream(Stream) Attempts to read the contents of the frame from the stream Declaration public bool ReadStream(Stream stream) Parameters Type Name Description Stream stream Returns Type Description Boolean | Improve this Doc View Source SetObject(Opcode, Object) Sets the opcodes and serializes the object into a json string. Declaration public void SetObject(Opcode opcode, object obj) Parameters Type Name Description Opcode opcode Object obj | Improve this Doc View Source SetObject(Object) Serializes the object into json string then encodes it into Data . Declaration public void SetObject(object obj) Parameters Type Name Description Object obj | Improve this Doc View Source WriteStream(Stream) Writes the frame into the target frame as one big byte block. Declaration public void WriteStream(Stream stream) Parameters Type Name Description Stream stream Implements IEquatable<>" + "keywords": "Struct PipeFrame A frame received and sent to the Discord client for RPC communications. Implements IEquatable < PipeFrame > Namespace : DiscordRPC.IO Assembly : DiscordRPC.dll Syntax public struct PipeFrame Constructors | Improve this Doc View Source PipeFrame(Opcode, Object) Creates a new pipe frame instance Declaration public PipeFrame(Opcode opcode, object data) Parameters Type Name Description Opcode opcode The opcode of the frame System.Object data The data of the frame that will be serialized as JSON Fields | Improve this Doc View Source MAX_SIZE The maxium size of a pipe frame (16kb). Declaration public static readonly int MAX_SIZE Field Value Type Description System.Int32 Properties | Improve this Doc View Source Data The data in the frame Declaration public byte[] Data { get; set; } Property Value Type Description System.Byte [] | Improve this Doc View Source Length The length of the frame data Declaration public readonly uint Length { get; } Property Value Type Description System.UInt32 | Improve this Doc View Source Message The data represented as a string. Declaration public string Message { get; set; } Property Value Type Description System.String | Improve this Doc View Source MessageEncoding Gets the encoding used for the pipe frames Declaration public readonly Encoding MessageEncoding { get; } Property Value Type Description Encoding | Improve this Doc View Source Opcode The opcode of the frame Declaration public Opcode Opcode { get; set; } Property Value Type Description Opcode Methods | Improve this Doc View Source Equals(PipeFrame) Compares if the frame equals the other frame. Declaration public bool Equals(PipeFrame other) Parameters Type Name Description PipeFrame other Returns Type Description System.Boolean | Improve this Doc View Source GetObject() Deserializes the data into the supplied type using JSON. Declaration public T GetObject() Returns Type Description T Type Parameters Name Description T The type to deserialize into | Improve this Doc View Source ReadStream(Stream) Attempts to read the contents of the frame from the stream Declaration public bool ReadStream(Stream stream) Parameters Type Name Description Stream stream Returns Type Description System.Boolean | Improve this Doc View Source SetObject(Opcode, Object) Sets the opcodes and serializes the object into a json string. Declaration public void SetObject(Opcode opcode, object obj) Parameters Type Name Description Opcode opcode System.Object obj | Improve this Doc View Source SetObject(Object) Serializes the object into json string then encodes it into Data . Declaration public void SetObject(object obj) Parameters Type Name Description System.Object obj | Improve this Doc View Source WriteStream(Stream) Writes the frame into the target frame as one big byte block. Declaration public void WriteStream(Stream stream) Parameters Type Name Description Stream stream Implements IEquatable<>" }, "api/DiscordRPC.Logging.ConsoleLogger.html": { "href": "api/DiscordRPC.Logging.ConsoleLogger.html", "title": "Class ConsoleLogger | Discord RPC C#", - "keywords": "Class ConsoleLogger Logs the outputs to the console using Inheritance Object ConsoleLogger Implements ILogger Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public class ConsoleLogger : object, ILogger Constructors | Improve this Doc View Source ConsoleLogger() Creates a new instance of a Console Logger. Declaration public ConsoleLogger() | Improve this Doc View Source ConsoleLogger(LogLevel) Creates a new instance of a Console Logger Declaration public ConsoleLogger(LogLevel level) Parameters Type Name Description LogLevel level The log level | Improve this Doc View Source ConsoleLogger(LogLevel, Boolean) Creates a new instance of a Console Logger with a set log level Declaration public ConsoleLogger(LogLevel level, bool coloured) Parameters Type Name Description LogLevel level The log level Boolean coloured Should the logs be in colour? Properties | Improve this Doc View Source Colored A alias too Coloured Declaration public bool Colored { get; set; } Property Value Type Description Boolean | Improve this Doc View Source Coloured Should the output be coloured? Declaration public bool Coloured { get; set; } Property Value Type Description Boolean | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration public LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration public void Error(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration public void Info(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Trace(String, Object[]) Informative log messages Declaration public void Trace(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration public void Warning(string message, params object[] args) Parameters Type Name Description String message Object [] args Implements ILogger" + "keywords": "Class ConsoleLogger Logs the outputs to the console using Inheritance System.Object ConsoleLogger Implements ILogger Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public class ConsoleLogger : object, ILogger Constructors | Improve this Doc View Source ConsoleLogger() Creates a new instance of a Console Logger. Declaration public ConsoleLogger() | Improve this Doc View Source ConsoleLogger(LogLevel) Creates a new instance of a Console Logger Declaration public ConsoleLogger(LogLevel level) Parameters Type Name Description LogLevel level The log level | Improve this Doc View Source ConsoleLogger(LogLevel, Boolean) Creates a new instance of a Console Logger with a set log level Declaration public ConsoleLogger(LogLevel level, bool coloured) Parameters Type Name Description LogLevel level The log level System.Boolean coloured Should the logs be in colour? Properties | Improve this Doc View Source Colored A alias too Coloured Declaration public bool Colored { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source Coloured Should the output be coloured? Declaration public bool Coloured { get; set; } Property Value Type Description System.Boolean | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration public LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration public void Error(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration public void Info(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Trace(String, Object[]) Informative log messages Declaration public void Trace(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration public void Warning(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args Implements ILogger" }, "api/DiscordRPC.Logging.FileLogger.html": { "href": "api/DiscordRPC.Logging.FileLogger.html", "title": "Class FileLogger | Discord RPC C#", - "keywords": "Class FileLogger Logs the outputs to a file Inheritance Object FileLogger Implements ILogger Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public class FileLogger : object, ILogger Constructors | Improve this Doc View Source FileLogger(String) Creates a new instance of the file logger Declaration public FileLogger(string path) Parameters Type Name Description String path The path of the log file. | Improve this Doc View Source FileLogger(String, LogLevel) Creates a new instance of the file logger Declaration public FileLogger(string path, LogLevel level) Parameters Type Name Description String path The path of the log file. LogLevel level The level to assign to the logger. Properties | Improve this Doc View Source File Should the output be coloured? Declaration public string File { get; set; } Property Value Type Description String | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration public LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration public void Error(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration public void Info(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Trace(String, Object[]) Informative log messages Declaration public void Trace(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration public void Warning(string message, params object[] args) Parameters Type Name Description String message Object [] args Implements ILogger" + "keywords": "Class FileLogger Logs the outputs to a file Inheritance System.Object FileLogger Implements ILogger Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public class FileLogger : object, ILogger Constructors | Improve this Doc View Source FileLogger(String) Creates a new instance of the file logger Declaration public FileLogger(string path) Parameters Type Name Description System.String path The path of the log file. | Improve this Doc View Source FileLogger(String, LogLevel) Creates a new instance of the file logger Declaration public FileLogger(string path, LogLevel level) Parameters Type Name Description System.String path The path of the log file. LogLevel level The level to assign to the logger. Properties | Improve this Doc View Source File Should the output be coloured? Declaration public string File { get; set; } Property Value Type Description System.String | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration public LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration public void Error(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration public void Info(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Trace(String, Object[]) Informative log messages Declaration public void Trace(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration public void Warning(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args Implements ILogger" }, "api/DiscordRPC.Logging.html": { "href": "api/DiscordRPC.Logging.html", @@ -182,7 +182,7 @@ "api/DiscordRPC.Logging.ILogger.html": { "href": "api/DiscordRPC.Logging.ILogger.html", "title": "Interface ILogger | Discord RPC C#", - "keywords": "Interface ILogger Logging interface to log the internal states of the pipe. Logs are sent in a NON thread safe way. They can come from multiple threads and it is upto the ILogger to account for it. Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public interface ILogger Properties | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration void Error(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration void Info(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Trace(String, Object[]) Debug trace messeages used for debugging internal elements. Declaration void Trace(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration void Warning(string message, params object[] args) Parameters Type Name Description String message Object [] args" + "keywords": "Interface ILogger Logging interface to log the internal states of the pipe. Logs are sent in a NON thread safe way. They can come from multiple threads and it is upto the ILogger to account for it. Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public interface ILogger Properties | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration void Error(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration void Info(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Trace(String, Object[]) Debug trace messeages used for debugging internal elements. Declaration void Trace(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration void Warning(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args" }, "api/DiscordRPC.Logging.LogLevel.html": { "href": "api/DiscordRPC.Logging.LogLevel.html", @@ -192,22 +192,22 @@ "api/DiscordRPC.Logging.NullLogger.html": { "href": "api/DiscordRPC.Logging.NullLogger.html", "title": "Class NullLogger | Discord RPC C#", - "keywords": "Class NullLogger Ignores all log events Inheritance Object NullLogger Implements ILogger Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public class NullLogger : object, ILogger Properties | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration public LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration public void Error(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration public void Info(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Trace(String, Object[]) Informative log messages Declaration public void Trace(string message, params object[] args) Parameters Type Name Description String message Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration public void Warning(string message, params object[] args) Parameters Type Name Description String message Object [] args Implements ILogger" + "keywords": "Class NullLogger Ignores all log events Inheritance System.Object NullLogger Implements ILogger Namespace : DiscordRPC.Logging Assembly : DiscordRPC.dll Syntax public class NullLogger : object, ILogger Properties | Improve this Doc View Source Level The level of logging to apply to this logger. Declaration public LogLevel Level { get; set; } Property Value Type Description LogLevel Methods | Improve this Doc View Source Error(String, Object[]) Error log messsages Declaration public void Error(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Info(String, Object[]) Informative log messages Declaration public void Info(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Trace(String, Object[]) Informative log messages Declaration public void Trace(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args | Improve this Doc View Source Warning(String, Object[]) Warning log messages Declaration public void Warning(string message, params object[] args) Parameters Type Name Description System.String message System.Object [] args Implements ILogger" }, "api/DiscordRPC.Message.CloseMessage.html": { "href": "api/DiscordRPC.Message.CloseMessage.html", "title": "Class CloseMessage | Discord RPC C#", - "keywords": "Class CloseMessage Called when the IPC has closed. Inheritance Object IMessage CloseMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class CloseMessage : IMessage Properties | Improve this Doc View Source Code The closure code Declaration public int Code { get; } Property Value Type Description Int32 | Improve this Doc View Source Reason The reason for the close Declaration public string Reason { get; } Property Value Type Description String | Improve this Doc View Source Type The type of message Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class CloseMessage Called when the IPC has closed. Inheritance System.Object IMessage CloseMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class CloseMessage : IMessage Properties | Improve this Doc View Source Code The closure code Declaration public int Code { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Reason The reason for the close Declaration public string Reason { get; } Property Value Type Description System.String | Improve this Doc View Source Type The type of message Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.ConnectionEstablishedMessage.html": { "href": "api/DiscordRPC.Message.ConnectionEstablishedMessage.html", "title": "Class ConnectionEstablishedMessage | Discord RPC C#", - "keywords": "Class ConnectionEstablishedMessage The connection to the discord client was succesfull. This is called before Ready . Inheritance Object IMessage ConnectionEstablishedMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ConnectionEstablishedMessage : IMessage Properties | Improve this Doc View Source ConnectedPipe The pipe we ended up connecting too Declaration public int ConnectedPipe { get; } Property Value Type Description Int32 | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class ConnectionEstablishedMessage The connection to the discord client was succesfull. This is called before Ready . Inheritance System.Object IMessage ConnectionEstablishedMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ConnectionEstablishedMessage : IMessage Properties | Improve this Doc View Source ConnectedPipe The pipe we ended up connecting too Declaration public int ConnectedPipe { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.ConnectionFailedMessage.html": { "href": "api/DiscordRPC.Message.ConnectionFailedMessage.html", "title": "Class ConnectionFailedMessage | Discord RPC C#", - "keywords": "Class ConnectionFailedMessage Failed to establish any connection with discord. Discord is potentially not running? Inheritance Object IMessage ConnectionFailedMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ConnectionFailedMessage : IMessage Properties | Improve this Doc View Source FailedPipe The pipe we failed to connect too. Declaration public int FailedPipe { get; } Property Value Type Description Int32 | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class ConnectionFailedMessage Failed to establish any connection with discord. Discord is potentially not running? Inheritance System.Object IMessage ConnectionFailedMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ConnectionFailedMessage : IMessage Properties | Improve this Doc View Source FailedPipe The pipe we failed to connect too. Declaration public int FailedPipe { get; } Property Value Type Description System.Int32 | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.ErrorCode.html": { "href": "api/DiscordRPC.Message.ErrorCode.html", @@ -217,7 +217,7 @@ "api/DiscordRPC.Message.ErrorMessage.html": { "href": "api/DiscordRPC.Message.ErrorMessage.html", "title": "Class ErrorMessage | Discord RPC C#", - "keywords": "Class ErrorMessage Created when a error occurs within the ipc and it is sent to the client. Inheritance Object IMessage ErrorMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ErrorMessage : IMessage Properties | Improve this Doc View Source Code The Discord error code. Declaration public ErrorCode Code { get; } Property Value Type Description ErrorCode | Improve this Doc View Source Message The message associated with the error code. Declaration public string Message { get; } Property Value Type Description String | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class ErrorMessage Created when a error occurs within the ipc and it is sent to the client. Inheritance System.Object IMessage ErrorMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ErrorMessage : IMessage Properties | Improve this Doc View Source Code The Discord error code. Declaration public ErrorCode Code { get; } Property Value Type Description ErrorCode | Improve this Doc View Source Message The message associated with the error code. Declaration public string Message { get; } Property Value Type Description System.String | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.html": { "href": "api/DiscordRPC.Message.html", @@ -227,17 +227,17 @@ "api/DiscordRPC.Message.IMessage.html": { "href": "api/DiscordRPC.Message.IMessage.html", "title": "Class IMessage | Discord RPC C#", - "keywords": "Class IMessage Messages received from discord. Inheritance Object IMessage CloseMessage ConnectionEstablishedMessage ConnectionFailedMessage ErrorMessage JoinMessage JoinRequestMessage PresenceMessage ReadyMessage SubscribeMessage UnsubscribeMessage Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public abstract class IMessage : object Constructors | Improve this Doc View Source IMessage() Creates a new instance of the message Declaration public IMessage() Properties | Improve this Doc View Source TimeCreated The time the message was created Declaration public DateTime TimeCreated { get; } Property Value Type Description DateTime | Improve this Doc View Source Type The type of message received from discord Declaration public abstract MessageType Type { get; } Property Value Type Description MessageType" + "keywords": "Class IMessage Messages received from discord. Inheritance System.Object IMessage CloseMessage ConnectionEstablishedMessage ConnectionFailedMessage ErrorMessage JoinMessage JoinRequestMessage PresenceMessage ReadyMessage SubscribeMessage UnsubscribeMessage Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public abstract class IMessage : object Constructors | Improve this Doc View Source IMessage() Creates a new instance of the message Declaration public IMessage() Properties | Improve this Doc View Source TimeCreated The time the message was created Declaration public DateTime TimeCreated { get; } Property Value Type Description DateTime | Improve this Doc View Source Type The type of message received from discord Declaration public abstract MessageType Type { get; } Property Value Type Description MessageType" }, "api/DiscordRPC.Message.JoinMessage.html": { "href": "api/DiscordRPC.Message.JoinMessage.html", "title": "Class JoinMessage | Discord RPC C#", - "keywords": "Class JoinMessage Called when the Discord Client wishes for this process to join a game. D -> C. Inheritance Object IMessage JoinMessage SpectateMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class JoinMessage : IMessage Properties | Improve this Doc View Source Secret The JoinSecret to connect with. Declaration public string Secret { get; } Property Value Type Description String | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class JoinMessage Called when the Discord Client wishes for this process to join a game. D -> C. Inheritance System.Object IMessage JoinMessage SpectateMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class JoinMessage : IMessage Properties | Improve this Doc View Source Secret The JoinSecret to connect with. Declaration public string Secret { get; } Property Value Type Description System.String | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.JoinRequestMessage.html": { "href": "api/DiscordRPC.Message.JoinRequestMessage.html", "title": "Class JoinRequestMessage | Discord RPC C#", - "keywords": "Class JoinRequestMessage Called when some other person has requested access to this game. C -> D -> C. Inheritance Object IMessage JoinRequestMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class JoinRequestMessage : IMessage Properties | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type | Improve this Doc View Source User The discord user that is requesting access. Declaration public User User { get; } Property Value Type Description User" + "keywords": "Class JoinRequestMessage Called when some other person has requested access to this game. C -> D -> C. Inheritance System.Object IMessage JoinRequestMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class JoinRequestMessage : IMessage Properties | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type | Improve this Doc View Source User The discord user that is requesting access. Declaration public User User { get; } Property Value Type Description User" }, "api/DiscordRPC.Message.MessageType.html": { "href": "api/DiscordRPC.Message.MessageType.html", @@ -247,32 +247,32 @@ "api/DiscordRPC.Message.PresenceMessage.html": { "href": "api/DiscordRPC.Message.PresenceMessage.html", "title": "Class PresenceMessage | Discord RPC C#", - "keywords": "Class PresenceMessage Representation of the message received by discord when the presence has been updated. Inheritance Object IMessage PresenceMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class PresenceMessage : IMessage Properties | Improve this Doc View Source ApplicationID The ID of the application discord has set it for Declaration public string ApplicationID { get; } Property Value Type Description String | Improve this Doc View Source Name The name of the application Discord has set it for Declaration public string Name { get; } Property Value Type Description String | Improve this Doc View Source Presence The rich presence Discord has set Declaration public BaseRichPresence Presence { get; } Property Value Type Description BaseRichPresence | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class PresenceMessage Representation of the message received by discord when the presence has been updated. Inheritance System.Object IMessage PresenceMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class PresenceMessage : IMessage Properties | Improve this Doc View Source ApplicationID The ID of the application discord has set it for Declaration public string ApplicationID { get; } Property Value Type Description System.String | Improve this Doc View Source Name The name of the application Discord has set it for Declaration public string Name { get; } Property Value Type Description System.String | Improve this Doc View Source Presence The rich presence Discord has set Declaration public BaseRichPresence Presence { get; } Property Value Type Description BaseRichPresence | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.ReadyMessage.html": { "href": "api/DiscordRPC.Message.ReadyMessage.html", "title": "Class ReadyMessage | Discord RPC C#", - "keywords": "Class ReadyMessage Called when the ipc is ready to send arguments. Inheritance Object IMessage ReadyMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ReadyMessage : IMessage Properties | Improve this Doc View Source Configuration The configuration of the connection Declaration public Configuration Configuration { get; set; } Property Value Type Description Configuration | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type | Improve this Doc View Source User User the connection belongs too Declaration public User User { get; set; } Property Value Type Description User | Improve this Doc View Source Version The version of the RPC Declaration public int Version { get; set; } Property Value Type Description Int32" + "keywords": "Class ReadyMessage Called when the ipc is ready to send arguments. Inheritance System.Object IMessage ReadyMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class ReadyMessage : IMessage Properties | Improve this Doc View Source Configuration The configuration of the connection Declaration public Configuration Configuration { get; set; } Property Value Type Description Configuration | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type | Improve this Doc View Source User User the connection belongs too Declaration public User User { get; set; } Property Value Type Description User | Improve this Doc View Source Version The version of the RPC Declaration public int Version { get; set; } Property Value Type Description System.Int32" }, "api/DiscordRPC.Message.SpectateMessage.html": { "href": "api/DiscordRPC.Message.SpectateMessage.html", "title": "Class SpectateMessage | Discord RPC C#", - "keywords": "Class SpectateMessage Called when the Discord Client wishes for this process to spectate a game. D -> C. Inheritance Object IMessage JoinMessage SpectateMessage Inherited Members JoinMessage.Secret IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class SpectateMessage : JoinMessage Properties | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides JoinMessage.Type" + "keywords": "Class SpectateMessage Called when the Discord Client wishes for this process to spectate a game. D -> C. Inheritance System.Object IMessage JoinMessage SpectateMessage Inherited Members JoinMessage.Secret IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class SpectateMessage : JoinMessage Properties | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides JoinMessage.Type" }, "api/DiscordRPC.Message.SubscribeMessage.html": { "href": "api/DiscordRPC.Message.SubscribeMessage.html", "title": "Class SubscribeMessage | Discord RPC C#", - "keywords": "Class SubscribeMessage Called as validation of a subscribe Inheritance Object IMessage SubscribeMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class SubscribeMessage : IMessage Properties | Improve this Doc View Source Event The event that was subscribed too. Declaration public EventType Event { get; } Property Value Type Description EventType | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class SubscribeMessage Called as validation of a subscribe Inheritance System.Object IMessage SubscribeMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class SubscribeMessage : IMessage Properties | Improve this Doc View Source Event The event that was subscribed too. Declaration public EventType Event { get; } Property Value Type Description EventType | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Message.UnsubscribeMessage.html": { "href": "api/DiscordRPC.Message.UnsubscribeMessage.html", "title": "Class UnsubscribeMessage | Discord RPC C#", - "keywords": "Class UnsubscribeMessage Called as validation of a subscribe Inheritance Object IMessage UnsubscribeMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class UnsubscribeMessage : IMessage Properties | Improve this Doc View Source Event The event that was subscribed too. Declaration public EventType Event { get; } Property Value Type Description EventType | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" + "keywords": "Class UnsubscribeMessage Called as validation of a subscribe Inheritance System.Object IMessage UnsubscribeMessage Inherited Members IMessage.TimeCreated Namespace : DiscordRPC.Message Assembly : DiscordRPC.dll Syntax public class UnsubscribeMessage : IMessage Properties | Improve this Doc View Source Event The event that was subscribed too. Declaration public EventType Event { get; } Property Value Type Description EventType | Improve this Doc View Source Type The type of message received from discord Declaration public override MessageType Type { get; } Property Value Type Description MessageType Overrides IMessage.Type" }, "api/DiscordRPC.Party.html": { "href": "api/DiscordRPC.Party.html", "title": "Class Party | Discord RPC C#", - "keywords": "Class Party Structure representing the part the player is in. Inheritance Object Party Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Party : object Properties | Improve this Doc View Source ID A unique ID for the player's current party / lobby / group. If this is not supplied, they player will not be in a party and the rest of the information will not be sent. Max 128 Bytes Declaration public string ID { get; set; } Property Value Type Description String | Improve this Doc View Source Max The maxium size of the party / lobby / group. This is required to be larger than Size . If it is smaller than the current party size, it will automatically be set too Size when the presence is sent. Declaration public int Max { get; set; } Property Value Type Description Int32 | Improve this Doc View Source Privacy The privacy of the party Declaration public Party.PrivacySetting Privacy { get; set; } Property Value Type Description Party.PrivacySetting | Improve this Doc View Source Size The current size of the players party / lobby / group. Declaration public int Size { get; set; } Property Value Type Description Int32" + "keywords": "Class Party Structure representing the part the player is in. Inheritance System.Object Party Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Party : object Properties | Improve this Doc View Source ID A unique ID for the player's current party / lobby / group. If this is not supplied, they player will not be in a party and the rest of the information will not be sent. Max 128 Bytes Declaration public string ID { get; set; } Property Value Type Description System.String | Improve this Doc View Source Max The maxium size of the party / lobby / group. This is required to be larger than Size . If it is smaller than the current party size, it will automatically be set too Size when the presence is sent. Declaration public int Max { get; set; } Property Value Type Description System.Int32 | Improve this Doc View Source Privacy The privacy of the party Declaration public Party.PrivacySetting Privacy { get; set; } Property Value Type Description Party.PrivacySetting | Improve this Doc View Source Size The current size of the players party / lobby / group. Declaration public int Size { get; set; } Property Value Type Description System.Int32" }, "api/DiscordRPC.Party.PrivacySetting.html": { "href": "api/DiscordRPC.Party.PrivacySetting.html", @@ -282,17 +282,17 @@ "api/DiscordRPC.RichPresence.html": { "href": "api/DiscordRPC.RichPresence.html", "title": "Class RichPresence | Discord RPC C#", - "keywords": "Class RichPresence The Rich Presence structure that will be sent and received by Discord. Use this class to build your presence and update it appropriately. Inheritance Object BaseRichPresence RichPresence Inherited Members BaseRichPresence.State BaseRichPresence._state BaseRichPresence.Details BaseRichPresence._details BaseRichPresence.Timestamps BaseRichPresence.Assets BaseRichPresence.Party BaseRichPresence.Secrets BaseRichPresence.HasTimestamps() BaseRichPresence.HasAssets() BaseRichPresence.HasParty() BaseRichPresence.HasSecrets() BaseRichPresence.ToRichPresence() Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public sealed class RichPresence : BaseRichPresence Properties | Improve this Doc View Source Buttons The buttons to display in the presence. Max of 2 Declaration public Button[] Buttons { get; set; } Property Value Type Description Button [] Methods | Improve this Doc View Source Clone() Clones the presence into a new instance. Used for thread safe writing and reading. This function will ignore properties if they are in a invalid state. Declaration public RichPresence Clone() Returns Type Description RichPresence | Improve this Doc View Source HasButtons() Does the Rich Presence have any buttons? Declaration public bool HasButtons() Returns Type Description Boolean | Improve this Doc View Source WithAssets(Assets) Sets the assets of the Rich Presence. See also Assets . Declaration public RichPresence WithAssets(Assets assets) Parameters Type Name Description Assets assets The names of the images to use and the tooltips to give those images. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithDetails(String) Sets the details of the Rich Presence. See also Details . Declaration public RichPresence WithDetails(string details) Parameters Type Name Description String details What the user is currently doing. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithParty(Party) Sets the Rich Presence's party. See also Party . Declaration public RichPresence WithParty(Party party) Parameters Type Name Description Party party The party the player is currently in. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithSecrets(Secrets) Sets the Rich Presence's secrets. See also Secrets . Declaration public RichPresence WithSecrets(Secrets secrets) Parameters Type Name Description Secrets secrets The secrets used for Join / Spectate. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithState(String) Sets the state of the Rich Presence. See also State . Declaration public RichPresence WithState(string state) Parameters Type Name Description String state The user's current Party status. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithTimestamps(Timestamps) Sets the timestamp of the Rich Presence. See also Timestamps . Declaration public RichPresence WithTimestamps(Timestamps timestamps) Parameters Type Name Description Timestamps timestamps The time elapsed / remaining time data. Returns Type Description RichPresence The modified Rich Presence. Operators | Improve this Doc View Source Implicit(RichPresence to Boolean) Operator that converts a presence into a boolean for null checks. Declaration public static implicit operator bool (RichPresence presesnce) Parameters Type Name Description RichPresence presesnce Returns Type Description Boolean" + "keywords": "Class RichPresence The Rich Presence structure that will be sent and received by Discord. Use this class to build your presence and update it appropriately. Inheritance System.Object BaseRichPresence RichPresence Inherited Members BaseRichPresence.State BaseRichPresence._state BaseRichPresence.Details BaseRichPresence._details BaseRichPresence.Timestamps BaseRichPresence.Assets BaseRichPresence.Party BaseRichPresence.Secrets BaseRichPresence.HasTimestamps() BaseRichPresence.HasAssets() BaseRichPresence.HasParty() BaseRichPresence.HasSecrets() BaseRichPresence.ToRichPresence() Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public sealed class RichPresence : BaseRichPresence Properties | Improve this Doc View Source Buttons The buttons to display in the presence. Max of 2 Declaration public Button[] Buttons { get; set; } Property Value Type Description Button [] Methods | Improve this Doc View Source Clone() Clones the presence into a new instance. Used for thread safe writing and reading. This function will ignore properties if they are in a invalid state. Declaration public RichPresence Clone() Returns Type Description RichPresence | Improve this Doc View Source HasButtons() Does the Rich Presence have any buttons? Declaration public bool HasButtons() Returns Type Description System.Boolean | Improve this Doc View Source WithAssets(Assets) Sets the assets of the Rich Presence. See also Assets . Declaration public RichPresence WithAssets(Assets assets) Parameters Type Name Description Assets assets The names of the images to use and the tooltips to give those images. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithDetails(String) Sets the details of the Rich Presence. See also Details . Declaration public RichPresence WithDetails(string details) Parameters Type Name Description System.String details What the user is currently doing. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithParty(Party) Sets the Rich Presence's party. See also Party . Declaration public RichPresence WithParty(Party party) Parameters Type Name Description Party party The party the player is currently in. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithSecrets(Secrets) Sets the Rich Presence's secrets. See also Secrets . Declaration public RichPresence WithSecrets(Secrets secrets) Parameters Type Name Description Secrets secrets The secrets used for Join / Spectate. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithState(String) Sets the state of the Rich Presence. See also State . Declaration public RichPresence WithState(string state) Parameters Type Name Description System.String state The user's current Party status. Returns Type Description RichPresence The modified Rich Presence. | Improve this Doc View Source WithTimestamps(Timestamps) Sets the timestamp of the Rich Presence. See also Timestamps . Declaration public RichPresence WithTimestamps(Timestamps timestamps) Parameters Type Name Description Timestamps timestamps The time elapsed / remaining time data. Returns Type Description RichPresence The modified Rich Presence. Operators | Improve this Doc View Source Implicit(RichPresence to Boolean) Operator that converts a presence into a boolean for null checks. Declaration public static implicit operator bool (RichPresence presesnce) Parameters Type Name Description RichPresence presesnce Returns Type Description System.Boolean" }, "api/DiscordRPC.Secrets.html": { "href": "api/DiscordRPC.Secrets.html", "title": "Class Secrets | Discord RPC C#", - "keywords": "Class Secrets The secrets used for Join / Spectate. Secrets are obfuscated data of your choosing. They could be match ids, player ids, lobby ids, etc. To keep security on the up and up, Discord requires that you properly hash/encode/encrypt/put-a-padlock-on-and-swallow-the-key-but-wait-then-how-would-you-open-it your secrets. You should send discord data that someone else's game client would need to join or spectate their friend. If you can't or don't want to support those actions, you don't need to send secrets. Visit the Rich Presence How-To for more information. Inheritance Object Secrets Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Secrets : object Properties | Improve this Doc View Source Encoding The encoding the secret generator is using Declaration public static Encoding Encoding { get; } Property Value Type Description Encoding | Improve this Doc View Source JoinSecret The secret data that will tell the client how to connect to the game to play. This could be a unique identifier for a fancy match maker or player id, lobby id, etc. It is recommended to encrypt this information so its hard for people to replicate it. Do NOT just use the IP address in this. That is a bad practice and can leave your players vulnerable! Max Length of 128 Bytes Declaration public string JoinSecret { get; set; } Property Value Type Description String | Improve this Doc View Source MatchSecret The unique match code to distinguish different games/lobbies. Use CreateSecret(Random) to get an appropriately sized secret. This cannot be null and must be supplied for the Join / Spectate feature to work. Max Length of 128 Bytes Declaration public string MatchSecret { get; set; } Property Value Type Description String | Improve this Doc View Source SecretLength The length of a secret in bytes. Declaration public static int SecretLength { get; } Property Value Type Description Int32 | Improve this Doc View Source SpectateSecret The secret data that will tell the client how to connect to the game to spectate. This could be a unique identifier for a fancy match maker or player id, lobby id, etc. It is recommended to encrypt this information so its hard for people to replicate it. Do NOT just use the IP address in this. That is a bad practice and can leave your players vulnerable! Max Length of 128 Bytes Declaration public string SpectateSecret { get; set; } Property Value Type Description String Methods | Improve this Doc View Source CreateFriendlySecret(Random) Creates a secret word using more readable friendly characters. Useful for debugging purposes. This is not a cryptographic function and should NOT be used for sensitive information. Declaration public static string CreateFriendlySecret(Random random) Parameters Type Name Description Random random The random used to generate the characters Returns Type Description String | Improve this Doc View Source CreateSecret(Random) Creates a new secret. This is NOT a cryptographic function and should NOT be used for sensitive information. This is mainly provided as a way to generate quick IDs. Declaration public static string CreateSecret(Random random) Parameters Type Name Description Random random The random to use Returns Type Description String Returns a SecretLength sized string with random characters from Encoding" + "keywords": "Class Secrets The secrets used for Join / Spectate. Secrets are obfuscated data of your choosing. They could be match ids, player ids, lobby ids, etc. To keep security on the up and up, Discord requires that you properly hash/encode/encrypt/put-a-padlock-on-and-swallow-the-key-but-wait-then-how-would-you-open-it your secrets. You should send discord data that someone else's game client would need to join or spectate their friend. If you can't or don't want to support those actions, you don't need to send secrets. Visit the Rich Presence How-To for more information. Inheritance System.Object Secrets Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Secrets : object Properties | Improve this Doc View Source Encoding The encoding the secret generator is using Declaration public static Encoding Encoding { get; } Property Value Type Description Encoding | Improve this Doc View Source JoinSecret The secret data that will tell the client how to connect to the game to play. This could be a unique identifier for a fancy match maker or player id, lobby id, etc. It is recommended to encrypt this information so its hard for people to replicate it. Do NOT just use the IP address in this. That is a bad practice and can leave your players vulnerable! Max Length of 128 Bytes Declaration public string JoinSecret { get; set; } Property Value Type Description System.String | Improve this Doc View Source MatchSecret The unique match code to distinguish different games/lobbies. Use CreateSecret(Random) to get an appropriately sized secret. This cannot be null and must be supplied for the Join / Spectate feature to work. Max Length of 128 Bytes Declaration public string MatchSecret { get; set; } Property Value Type Description System.String | Improve this Doc View Source SecretLength The length of a secret in bytes. Declaration public static int SecretLength { get; } Property Value Type Description System.Int32 | Improve this Doc View Source SpectateSecret The secret data that will tell the client how to connect to the game to spectate. This could be a unique identifier for a fancy match maker or player id, lobby id, etc. It is recommended to encrypt this information so its hard for people to replicate it. Do NOT just use the IP address in this. That is a bad practice and can leave your players vulnerable! Max Length of 128 Bytes Declaration public string SpectateSecret { get; set; } Property Value Type Description System.String Methods | Improve this Doc View Source CreateFriendlySecret(Random) Creates a secret word using more readable friendly characters. Useful for debugging purposes. This is not a cryptographic function and should NOT be used for sensitive information. Declaration public static string CreateFriendlySecret(Random random) Parameters Type Name Description Random random The random used to generate the characters Returns Type Description System.String | Improve this Doc View Source CreateSecret(Random) Creates a new secret. This is NOT a cryptographic function and should NOT be used for sensitive information. This is mainly provided as a way to generate quick IDs. Declaration public static string CreateSecret(Random random) Parameters Type Name Description Random random The random to use Returns Type Description System.String Returns a SecretLength sized string with random characters from Encoding" }, "api/DiscordRPC.Timestamps.html": { "href": "api/DiscordRPC.Timestamps.html", "title": "Class Timestamps | Discord RPC C#", - "keywords": "Class Timestamps Structure representing the start and endtimes of a match. Inheritance Object Timestamps Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Timestamps : object Constructors | Improve this Doc View Source Timestamps() Creates a empty timestamp object Declaration public Timestamps() | Improve this Doc View Source Timestamps(DateTime) Creates a timestamp with the set start time Declaration public Timestamps(DateTime start) Parameters Type Name Description DateTime start | Improve this Doc View Source Timestamps(DateTime, DateTime) Creates a timestamp with a set duration Declaration public Timestamps(DateTime start, DateTime end) Parameters Type Name Description DateTime start The start time DateTime end The end time Properties | Improve this Doc View Source End The time the match will end. When included (not-null), the time in the rich presence will be shown as \"00:01 remaining\". This will override the \"elapsed\" to \"remaining\". Declaration public DateTime? End { get; set; } Property Value Type Description Nullable < DateTime > | Improve this Doc View Source EndUnixMilliseconds Converts between DateTime and Milliseconds to give the Unix Epoch Time for the End . End Declaration public ulong? EndUnixMilliseconds { get; set; } Property Value Type Description Nullable < UInt64 > | Improve this Doc View Source Now A new timestamp that starts from the current time. Declaration public static Timestamps Now { get; } Property Value Type Description Timestamps | Improve this Doc View Source Start The time that match started. When included (not-null), the time in the rich presence will be shown as \"00:01 elapsed\". Declaration public DateTime? Start { get; set; } Property Value Type Description Nullable < DateTime > | Improve this Doc View Source StartUnixMilliseconds Converts between DateTime and Milliseconds to give the Unix Epoch Time for the Start . Declaration public ulong? StartUnixMilliseconds { get; set; } Property Value Type Description Nullable < UInt64 > Methods | Improve this Doc View Source FromTimeSpan(Double) Creates a new timestamp starting at the current time and ending in the supplied timespan Declaration public static Timestamps FromTimeSpan(double seconds) Parameters Type Name Description Double seconds How long the Timestamp will last for in seconds. Returns Type Description Timestamps Returns a new timestamp with given duration. | Improve this Doc View Source FromTimeSpan(TimeSpan) Creates a new timestamp starting at current time and ending in the supplied timespan Declaration public static Timestamps FromTimeSpan(TimeSpan timespan) Parameters Type Name Description TimeSpan timespan How long the Timestamp will last for. Returns Type Description Timestamps Returns a new timestamp with given duration. | Improve this Doc View Source FromUnixMilliseconds(UInt64) Converts a Unix Epoch time into a . Declaration public static DateTime FromUnixMilliseconds(ulong unixTime) Parameters Type Name Description UInt64 unixTime The time in milliseconds since 1970 / 01 / 01 Returns Type Description DateTime | Improve this Doc View Source ToUnixMilliseconds(DateTime) Converts a into a Unix Epoch time (in milliseconds). Declaration public static ulong ToUnixMilliseconds(DateTime date) Parameters Type Name Description DateTime date The datetime to convert Returns Type Description UInt64" + "keywords": "Class Timestamps Structure representing the start and endtimes of a match. Inheritance System.Object Timestamps Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class Timestamps : object Constructors | Improve this Doc View Source Timestamps() Creates a empty timestamp object Declaration public Timestamps() | Improve this Doc View Source Timestamps(DateTime) Creates a timestamp with the set start time Declaration public Timestamps(DateTime start) Parameters Type Name Description DateTime start | Improve this Doc View Source Timestamps(DateTime, DateTime) Creates a timestamp with a set duration Declaration public Timestamps(DateTime start, DateTime end) Parameters Type Name Description DateTime start The start time DateTime end The end time Properties | Improve this Doc View Source End The time the match will end. When included (not-null), the time in the rich presence will be shown as \"00:01 remaining\". This will override the \"elapsed\" to \"remaining\". Declaration public DateTime? End { get; set; } Property Value Type Description System.Nullable < DateTime > | Improve this Doc View Source EndUnixMilliseconds Converts between DateTime and Milliseconds to give the Unix Epoch Time for the End . End Declaration public ulong? EndUnixMilliseconds { get; set; } Property Value Type Description System.Nullable < System.UInt64 > | Improve this Doc View Source Now A new timestamp that starts from the current time. Declaration public static Timestamps Now { get; } Property Value Type Description Timestamps | Improve this Doc View Source Start The time that match started. When included (not-null), the time in the rich presence will be shown as \"00:01 elapsed\". Declaration public DateTime? Start { get; set; } Property Value Type Description System.Nullable < DateTime > | Improve this Doc View Source StartUnixMilliseconds Converts between DateTime and Milliseconds to give the Unix Epoch Time for the Start . Declaration public ulong? StartUnixMilliseconds { get; set; } Property Value Type Description System.Nullable < System.UInt64 > Methods | Improve this Doc View Source FromTimeSpan(Double) Creates a new timestamp starting at the current time and ending in the supplied timespan Declaration public static Timestamps FromTimeSpan(double seconds) Parameters Type Name Description System.Double seconds How long the Timestamp will last for in seconds. Returns Type Description Timestamps Returns a new timestamp with given duration. | Improve this Doc View Source FromTimeSpan(TimeSpan) Creates a new timestamp starting at current time and ending in the supplied timespan Declaration public static Timestamps FromTimeSpan(TimeSpan timespan) Parameters Type Name Description TimeSpan timespan How long the Timestamp will last for. Returns Type Description Timestamps Returns a new timestamp with given duration. | Improve this Doc View Source FromUnixMilliseconds(UInt64) Converts a Unix Epoch time into a . Declaration public static DateTime FromUnixMilliseconds(ulong unixTime) Parameters Type Name Description System.UInt64 unixTime The time in milliseconds since 1970 / 01 / 01 Returns Type Description DateTime | Improve this Doc View Source ToUnixMilliseconds(DateTime) Converts a into a Unix Epoch time (in milliseconds). Declaration public static ulong ToUnixMilliseconds(DateTime date) Parameters Type Name Description DateTime date The datetime to convert Returns Type Description System.UInt64" }, "api/DiscordRPC.User.AvatarFormat.html": { "href": "api/DiscordRPC.User.AvatarFormat.html", @@ -312,7 +312,7 @@ "api/DiscordRPC.User.html": { "href": "api/DiscordRPC.User.html", "title": "Class User | Discord RPC C#", - "keywords": "Class User Object representing a Discord user. This is used for join requests. Inheritance Object User Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class User : object Properties | Improve this Doc View Source Avatar The avatar hash of the user. Too get a URL for the avatar, use the GetAvatarURL(User.AvatarFormat, User.AvatarSize) . This can be null if the user has no avatar. The GetAvatarURL(User.AvatarFormat, User.AvatarSize) will account for this and return the discord default. Declaration public string Avatar { get; } Property Value Type Description String | Improve this Doc View Source CdnEndpoint The endpoint for the CDN. Normally cdn.discordapp.com. Declaration public string CdnEndpoint { get; } Property Value Type Description String | Improve this Doc View Source Discriminator The discriminator of the user. Declaration public int Discriminator { get; } Property Value Type Description Int32 | Improve this Doc View Source Flags The flags on a users account, often represented as a badge. Declaration public User.Flag Flags { get; } Property Value Type Description User.Flag | Improve this Doc View Source ID The snowflake ID of the user. Declaration public ulong ID { get; } Property Value Type Description UInt64 | Improve this Doc View Source Premium The premium type of the user. Declaration public User.PremiumType Premium { get; } Property Value Type Description User.PremiumType | Improve this Doc View Source Username The username of the player. Declaration public string Username { get; } Property Value Type Description String Methods | Improve this Doc View Source GetAvatarExtension(User.AvatarFormat) Returns the file extension of the specified format. Declaration public string GetAvatarExtension(User.AvatarFormat format) Parameters Type Name Description User.AvatarFormat format The format to get the extention off Returns Type Description String Returns a period prefixed file extension. | Improve this Doc View Source GetAvatarURL(User.AvatarFormat) Gets a URL that can be used to download the user's avatar. If the user has not yet set their avatar, it will return the default one that discord is using. The default avatar only supports the PNG format. Declaration public string GetAvatarURL(User.AvatarFormat format) Parameters Type Name Description User.AvatarFormat format The format of the target avatar Returns Type Description String URL to the discord CDN for the particular avatar Remarks The file returned will be 128px x 128px | Improve this Doc View Source GetAvatarURL(User.AvatarFormat, User.AvatarSize) Gets a URL that can be used to download the user's avatar. If the user has not yet set their avatar, it will return the default one that discord is using. The default avatar only supports the PNG format. Declaration public string GetAvatarURL(User.AvatarFormat format, User.AvatarSize size) Parameters Type Name Description User.AvatarFormat format The format of the target avatar User.AvatarSize size The optional size of the avatar you wish for. Returns Type Description String URL to the discord CDN for the particular avatar | Improve this Doc View Source ToString() Formats the user into username#discriminator Declaration public override string ToString() Returns Type Description String" + "keywords": "Class User Object representing a Discord user. This is used for join requests. Inheritance System.Object User Namespace : DiscordRPC Assembly : DiscordRPC.dll Syntax public class User : object Properties | Improve this Doc View Source Avatar The avatar hash of the user. Too get a URL for the avatar, use the GetAvatarURL(User.AvatarFormat, User.AvatarSize) . This can be null if the user has no avatar. The GetAvatarURL(User.AvatarFormat, User.AvatarSize) will account for this and return the discord default. Declaration public string Avatar { get; } Property Value Type Description System.String | Improve this Doc View Source CdnEndpoint The endpoint for the CDN. Normally cdn.discordapp.com. Declaration public string CdnEndpoint { get; } Property Value Type Description System.String | Improve this Doc View Source Discriminator The discriminator of the user. Declaration public int Discriminator { get; } Property Value Type Description System.Int32 Remarks If the user has migrated to unique a Username , the discriminator will always be 0. | Improve this Doc View Source DisplayName The display name of the user Declaration public string DisplayName { get; } Property Value Type Description System.String Remarks This will be empty if the user has not set a global display name. | Improve this Doc View Source Flags The flags on a users account, often represented as a badge. Declaration public User.Flag Flags { get; } Property Value Type Description User.Flag | Improve this Doc View Source ID The snowflake ID of the user. Declaration public ulong ID { get; } Property Value Type Description System.UInt64 | Improve this Doc View Source Premium The premium type of the user. Declaration public User.PremiumType Premium { get; } Property Value Type Description User.PremiumType | Improve this Doc View Source Username The username of the player. Declaration public string Username { get; } Property Value Type Description System.String Methods | Improve this Doc View Source GetAvatarExtension(User.AvatarFormat) Returns the file extension of the specified format. Declaration public string GetAvatarExtension(User.AvatarFormat format) Parameters Type Name Description User.AvatarFormat format The format to get the extention off Returns Type Description System.String Returns a period prefixed file extension. | Improve this Doc View Source GetAvatarURL(User.AvatarFormat) Gets a URL that can be used to download the user's avatar. If the user has not yet set their avatar, it will return the default one that discord is using. The default avatar only supports the PNG format. Declaration public string GetAvatarURL(User.AvatarFormat format) Parameters Type Name Description User.AvatarFormat format The format of the target avatar Returns Type Description System.String URL to the discord CDN for the particular avatar Remarks The file returned will be 128px x 128px | Improve this Doc View Source GetAvatarURL(User.AvatarFormat, User.AvatarSize) Gets a URL that can be used to download the user's avatar. If the user has not yet set their avatar, it will return the default one that discord is using. The default avatar only supports the PNG format. Declaration public string GetAvatarURL(User.AvatarFormat format, User.AvatarSize size) Parameters Type Name Description User.AvatarFormat format The format of the target avatar User.AvatarSize size The optional size of the avatar you wish for. Returns Type Description System.String URL to the discord CDN for the particular avatar | Improve this Doc View Source ToString() Formats the user into a displayable format. If the user has a DisplayName , then this will be used. If the user still has a discriminator, then this will return the form of Username#Discriminator . Declaration public override string ToString() Returns Type Description System.String String of the user that can be used for display." }, "api/DiscordRPC.User.PremiumType.html": { "href": "api/DiscordRPC.User.PremiumType.html", @@ -372,6 +372,6 @@ "index.html": { "href": "index.html", "title": "Discord Rich Presence | Discord RPC C#", - "keywords": "Discord Rich Presence This is a C# implementation of the Discord RPC library which was originally written in C++. This avoids having to use the official C++ and instead provides a managed way of using the Rich Presence within the .NET environment*. While the official C++ library has been deprecated, this library has continued support and development for all your Rich Presence need, without requiring the Game SDK. Here are some key features of this library: Message Queuing Threaded Reads Managed Pipes * Error Handling & Error Checking with automatic reconnects Events from Discord (such as presence update and join requests) Full Rich Presence Implementation (including Join / Spectate) Inline Documented (for all your IntelliSense needs) Helper Functionality (eg: AvatarURL generator from Join Requests) Ghost Prevention (Tells Discord to clear the RP on disposal) Full Unity3D Editor (Contains all the tools, inspectors and helpers for a Unity3D game all in one package). Documentation All the documentation can be found lachee.github.io/discord-rpc-csharp/docs/ Installation Dependencies: Newtonsoft.Json .NET Standard 2.0 .NET Project For projects that target either .NET Core or .NETFX, you can get the package on nuget : PM> Install-Package DiscordRichPresence You can also Download or Build your own version of the library if you have more specific requirements. Unity3D Game Engine Unity Package is being moved to Lachee/Discord-RPC-Unity . Please check the releases / documentation there. Usage The Discord.Example project within the solution contains example code, showing how to use all available features. For Unity Specific examples, check out the example project included. There are 3 important stages of usage, Initialization, Invoking and Deinitialization. It's important you follow all 3 stages to ensure proper behaviour of the library. Initialization This stage will setup the connection to Discord and establish the events. Once you have done the initialization you can call SetPresence and other variants as many times as you wish throughout your code. Please note that ideally this should only run once, otherwise conflicts may occur with them trying to access the same Discord client at the same time. public DiscordRpcClient client; //Called when your application first starts. //For example, just before your main loop, on OnEnable for unity. void Initialize() { /* Create a Discord client NOTE: If you are using Unity3D, you must use the full constructor and define the pipe connection. */ client = new DiscordRpcClient(\"my_client_id\"); //Set the logger client.Logger = new ConsoleLogger() { Level = LogLevel.Warning }; //Subscribe to events client.OnReady += (sender, e) => { Console.WriteLine(\"Received Ready from user {0}\", e.User.Username); }; client.OnPresenceUpdate += (sender, e) => { Console.WriteLine(\"Received Update! {0}\", e.Presence); }; //Connect to the RPC client.Initialize(); //Set the rich presence //Call this as many times as you want and anywhere in your code. client.SetPresence(new RichPresence() { Details = \"Example Project\", State = \"csharp example\", Assets = new Assets() { LargeImageKey = \"image_large\", LargeImageText = \"Lachee's Discord IPC Library\", SmallImageKey = \"image_small\" } }); } Invoking Invoking is optional. Use this when thread safety is paramount. The client will store messages from the pipe and won't invoke them until you call Invoke() or DequeueMessages() . It does this because the pipe is working on another thread, and manually invoking ensures proper thread safety and order of operations (especially important in Unity3D applications). In order to enable this method of event calling, you need to set it in the constructor of the DiscordRpcClient under autoEvents . //The main loop of your application, or some sort of timer. Literally the Update function in Unity3D void Update() { //Invoke all the events, such as OnPresenceUpdate client.Invoke(); }; Here is an example on how a Timer could be used to invoke the events for a WinForm var timer = new System.Timers.Timer(150); timer.Elapsed += (sender, args) => { client.Invoke(); }; timer.Start(); Deinitialization It's important that you dispose your client before your application terminates. This will stop the threads, abort the pipe reads, and tell Discord to clear the presence. Failure to do so may result in a memory leak! //Called when your application terminates. //For example, just after your main loop, on OnDisable for unity. void Deinitialize() { client.Dispose(); } Building DiscordRPC Library dotnet build -c Release Unity3D If you wish to have barebones Unity3D implementation, you need to build the DiscordRPC.dll , the Unity Named Pipes Library and the UnityNamedPipe.cs . Put these in your own Unity Project and the .dll s in a folder called Plugins ." + "keywords": "Discord Rich Presence This is a C# implementation of the Discord RPC library which was originally written in C++. This avoids having to use the official C++ and instead provides a managed way of using the Rich Presence within the .NET environment*. While the official C++ library has been deprecated, this library has continued support and development for all your Rich Presence need, without requiring the Game SDK. Here are some key features of this library: Message Queuing Threaded Reads Managed Pipes * Error Handling & Error Checking with automatic reconnects Events from Discord (such as presence update and join requests) Full Rich Presence Implementation (including Join / Spectate) Inline Documented (for all your IntelliSense needs) Helper Functionality (eg: AvatarURL generator from Join Requests) Ghost Prevention (Tells Discord to clear the RP on disposal) Full Unity3D Editor (Contains all the tools, inspectors and helpers for a Unity3D game all in one package). Documentation All the documentation can be found lachee.github.io/discord-rpc-csharp/docs/ Installation Dependencies: Newtonsoft.Json .NET Standard 2.0 .NET Project For projects that target either .NET Core or .NETFX, you can get the package on nuget : PM> Install-Package DiscordRichPresence You can also Download or Build your own version of the library if you have more specific requirements. Unity3D Game Engine Unity Package is being moved to Lachee/Discord-RPC-Unity . Please check the releases / documentation there. Usage The Discord.Example project within the solution contains example code, showing how to use all available features. For Unity Specific examples, check out the example project included. There are 3 important stages of usage, Initialization, Invoking and Deinitialization. It's important you follow all 3 stages to ensure proper behaviour of the library. Initialization This stage will setup the connection to Discord and establish the events. Once you have done the initialization you can call SetPresence and other variants as many times as you wish throughout your code. Please note that ideally this should only run once, otherwise conflicts may occur with them trying to access the same Discord client at the same time. public DiscordRpcClient client; //Called when your application first starts. //For example, just before your main loop, on OnEnable for unity. void Initialize() { /* Create a Discord client NOTE: If you are using Unity3D, you must use the full constructor and define the pipe connection. */ client = new DiscordRpcClient(\"my_client_id\"); //Set the logger client.Logger = new ConsoleLogger() { Level = LogLevel.Warning }; //Subscribe to events client.OnReady += (sender, e) => { Console.WriteLine(\"Received Ready from user {0}\", e.User.Username); }; client.OnPresenceUpdate += (sender, e) => { Console.WriteLine(\"Received Update! {0}\", e.Presence); }; //Connect to the RPC client.Initialize(); //Set the rich presence //Call this as many times as you want and anywhere in your code. client.SetPresence(new RichPresence() { Details = \"Example Project\", State = \"csharp example\", Assets = new Assets() { LargeImageKey = \"image_large\", LargeImageText = \"Lachee's Discord IPC Library\", SmallImageKey = \"image_small\" } }); } Invoking Invoking is optional. Use this when thread safety is paramount. The client will store messages from the pipe and won't invoke them until you call Invoke() or DequeueMessages() . It does this because the pipe is working on another thread, and manually invoking ensures proper thread safety and order of operations (especially important in Unity3D applications). In order to enable this method of event calling, you need to set it in the constructor of the DiscordRpcClient under autoEvents . //The main loop of your application, or some sort of timer. Literally the Update function in Unity3D void Update() { //Invoke all the events, such as OnPresenceUpdate client.Invoke(); }; Here is an example on how a Timer could be used to invoke the events for a WinForm var timer = new System.Timers.Timer(150); timer.Elapsed += (sender, args) => { client.Invoke(); }; timer.Start(); Deinitialization It's important that you dispose your client before your application terminates. This will stop the threads, abort the pipe reads, and tell Discord to clear the presence. Failure to do so may result in a memory leak! //Called when your application terminates. //For example, just after your main loop, on OnDisable for unity. void Deinitialize() { client.Dispose(); } Building DiscordRPC Library dotnet build -c Release Unity3D If you wish to have barebones Unity3D implementation, you need to build the DiscordRPC.dll , the Unity Named Pipes Library and the UnityNamedPipe.cs . Put these in your own Unity Project and the .dll s in a folder called Plugins . UWP / .NET MAUI / WIN UI 3 For now, the library doesn't work on UWP applications until we find the issue and fix it. In order to make this library work with the WIN UI 3 related applications such as .NET MAUI, you need to define runFullTrust Capability inside Package.appxmanifest . Here is an example of how to add runFullTrust to your WIN UI 3 application: Package.appxmanifest : ... If you use .NET MAUI or WIN UI 3 template for C#, it automatically puts runFullTrust capability." } } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 0e78a9e8..297dfd16 100644 --- a/manifest.json +++ b/manifest.json @@ -21,7 +21,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Assets.html", - "hash": "kwQrwCJoaSbk6Mg+H7gC/CEqriZtq8avkajOtMU/OHM=" + "hash": "VqAXTwbILKZwFw1F9gawCHHKT61ZPwPyIEFXOPPW8HA=" } }, "is_incremental": false, @@ -33,7 +33,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.BaseRichPresence.html", - "hash": "cwWH/dz/90kWq5PnNQ0UWe8wmGn7xJbIvtIeS0l0Ffc=" + "hash": "rYEiSjR55Msq1JjqQQuispSsXRCdYK82ux0COZbkCiU=" } }, "is_incremental": false, @@ -45,7 +45,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Button.html", - "hash": "cgWH3oyJwnpfcRkOn8cJej7TqfKYE/uZb8ucI5pPk4A=" + "hash": "Gp/qpNJaPvv7jjO9EyeIpC9iebWkNfy9FXw2B/vd4+g=" } }, "is_incremental": false, @@ -57,7 +57,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Configuration.html", - "hash": "UXub72scO3Kg6Cm0Dh13PFwaO0FGJHZuCa76vOZEpkQ=" + "hash": "f4S2j7Dv+xJ3sIAkhk1PF3giJKtmd4VWUPsXKdHMMm0=" } }, "is_incremental": false, @@ -69,7 +69,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.DiscordRpcClient.html", - "hash": "QErqFt1JdDIxu72c/fRPCnUVN06bfhbYTD48tR5Ex8g=" + "hash": "c+WaA40h04fATVjF/yKb9kgkUGhpxk6xuAdT0TxanlI=" } }, "is_incremental": false, @@ -93,7 +93,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnCloseEvent.html", - "hash": "WT0pAZ5hFYIM9g6h2bEbV+McZDGWajhAg5uMB0s49j4=" + "hash": "e03rsOl3KK6WjIzEhedcYPfzqThgJRfscHa4uWyiNJk=" } }, "is_incremental": false, @@ -105,7 +105,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnConnectionEstablishedEvent.html", - "hash": "3lGHFdj/bgZK4LTQYkUmtVYP5ZFL6YvVzUDVHr8GO1o=" + "hash": "fBiDRVYnGQ+iqsQNFE+ZJJ/G+ityB/ZdVYnONjKoyKw=" } }, "is_incremental": false, @@ -117,7 +117,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnConnectionFailedEvent.html", - "hash": "3JWPrDocZzOM3OF5CgWCMe6873+2aAOSPqql+zUdOqc=" + "hash": "Vwc+4JP8fPMdNmGKwVBiytp4eH/m//7QcGBRULUMMUc=" } }, "is_incremental": false, @@ -129,7 +129,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnErrorEvent.html", - "hash": "iybN0ps5ahJgLFrniWJZLnvUFomNmZhPifaA8VdoSK4=" + "hash": "Np+j8zmNNrRvhvNxWAfcBU2XXzh/tizZCw2MngtQcD8=" } }, "is_incremental": false, @@ -141,7 +141,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnJoinEvent.html", - "hash": "G9xab2DOj0CsDljZJ4BrHYRXPPL/SOYeik3ujXpqTqg=" + "hash": "ITUsVHSFtsZoqg323JxNYWHui81+VMvBHVLRkpcrUy4=" } }, "is_incremental": false, @@ -153,7 +153,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnJoinRequestedEvent.html", - "hash": "CDkBl8U9K4CwZWha0zzmnx3Td56Yz+xzZtYpPYEFGBI=" + "hash": "pnsTKBQ/QZGM4aFi2zeIiyyTiWmaSBaJi1wzncxtcfY=" } }, "is_incremental": false, @@ -165,7 +165,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnPresenceUpdateEvent.html", - "hash": "nKiZfTR38PxGBkNRX3BKD9hpgKW819h9QJyE5E4GoCc=" + "hash": "xS9yOQGoEMD11bXcJjETcV5lAyNaJ5fWfMou934f5yk=" } }, "is_incremental": false, @@ -177,7 +177,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnReadyEvent.html", - "hash": "04/FBkOlM1rv8DLtgW8f2QfyON3s4Z3whwWU+y7qLJc=" + "hash": "3qKwhXUDTzVWSq1EBoyU+zQdSgvy0i5H3kb95Tv2lWo=" } }, "is_incremental": false, @@ -189,7 +189,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnRpcMessageEvent.html", - "hash": "S1znJWtNpsSjQDiBdZD0Xz5/EQ9hQfTvxVnDp1tbkFc=" + "hash": "mgqXtF6nXhAmjrvcPaGj6v2KV4ds1eCBTXcud3orB0U=" } }, "is_incremental": false, @@ -201,7 +201,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnSpectateEvent.html", - "hash": "eG9Od8E1S96ocKxHRV5htJsm/dTxZuCIdPq6FYDcb/w=" + "hash": "0XN3Od8sjxcwI4wNfbcSvd5ujtSJpXTzuRhrbfxL4C4=" } }, "is_incremental": false, @@ -213,7 +213,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnSubscribeEvent.html", - "hash": "1DTouGnfUYBlgpwyrtkCAeDJUNYjZg0F+viwJDOs1Zw=" + "hash": "7KY/ZOl99ajuqzNVghk/7zo2iZGN529wkAKa6OijyHA=" } }, "is_incremental": false, @@ -225,7 +225,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Events.OnUnsubscribeEvent.html", - "hash": "ANGwZsd+47qAabzrxL0eEdjWokS2BSaC3MagL6/O5xQ=" + "hash": "gvHLor4yr9FXYU1171xTUCh7MzYhwYkmGZc9oNHOK+Q=" } }, "is_incremental": false, @@ -249,7 +249,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Exceptions.BadPresenceException.html", - "hash": "N2XqEfBfrFaNMGabPyG6i9SBpKLC0aLVPJ6qJzs6nog=" + "hash": "CSKVGcPcuA7pAwb679ohTWdGtai2Vth2dUmuBlx1Knw=" } }, "is_incremental": false, @@ -261,7 +261,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Exceptions.InvalidConfigurationException.html", - "hash": "tZy2dt3v2cf+DaYWfvttRhH3VRtK4LEvIW1AFYK5UQU=" + "hash": "CDGWYFO9t3F7TypxfPg/rx7PmBMo4g9dOmXZQtAIQi8=" } }, "is_incremental": false, @@ -273,7 +273,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Exceptions.InvalidPipeException.html", - "hash": "BaWAvxKt+iXnJ4uM0QYsnYI/v378c4OjgViubGbkJ94=" + "hash": "XgsaVhC9eDmAkQhwL6law6OSAsL7w0GamTBM577ibx4=" } }, "is_incremental": false, @@ -285,7 +285,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Exceptions.StringOutOfRangeException.html", - "hash": "SaCWxFR5uLcVKz7Ixn6O1MN/41Wly2WqV2Jxr4asPGQ=" + "hash": "x7i6arI9fTypa7m8jbwznl+cyCdPkfvYdQThe2rFtYI=" } }, "is_incremental": false, @@ -297,7 +297,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Exceptions.UninitializedException.html", - "hash": "qmaPK3kQ3Fbyqs2aW6x9Qvi7a/Yw3P9EevzfF1jqrT4=" + "hash": "GEPwAUPOTFzTIsXN08Jncq8NNPQaa5Y2YQydNtMpoZc=" } }, "is_incremental": false, @@ -321,7 +321,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Helper.StringTools.html", - "hash": "GIM9sIsd16EoCvS14ihDDpv48M3lrqwW3EKMdHTVmWg=" + "hash": "g36M3Y76AJPzI7wzb6EGo7Lz6aI+M47bk2sV0oap/Ms=" } }, "is_incremental": false, @@ -345,7 +345,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.IO.INamedPipeClient.html", - "hash": "vPVS/qXFUBReDRdERvdTWjXnyuYCvnKf5tUI19WpkbU=" + "hash": "g5pg/i1KYPXOJv2WvhW2cjeTyYqShpmKLaLWefKaGIc=" } }, "is_incremental": false, @@ -357,7 +357,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.IO.ManagedNamedPipeClient.html", - "hash": "ibSAE8dpcUlfNNuHxeUvjJwmd/KIdgc2Ayprtwc772s=" + "hash": "EZrsrv2zpmG16/8njTs1ZkJM30FuUob5eNiqmO//dGU=" } }, "is_incremental": false, @@ -381,7 +381,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.IO.PipeFrame.html", - "hash": "6n+xek49OkhItmIeypMIJpVaUwL/QiK976YWtDnJcb4=" + "hash": "oWu+GcP64u0hZyHS2WyUtYFTx42Jkd8ou67Ua/AbKzI=" } }, "is_incremental": false, @@ -405,7 +405,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Logging.ConsoleLogger.html", - "hash": "kS1juU7B1r+9HIdkf4mfiAjQz3SE4tZZbaz7vP+NCNw=" + "hash": "XJxPjZiNvP1wiyATg+RjIV24OgGbpIuD4GS0Z/e9VdA=" } }, "is_incremental": false, @@ -417,7 +417,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Logging.FileLogger.html", - "hash": "W47sjjZfhmihQzzrPdprnI4VjpPr9gRvVI0YebmkoNU=" + "hash": "NMjjRw6VMA27jqjeQqQD6p2Nc9zyN8gNzPQUjqx6Trw=" } }, "is_incremental": false, @@ -429,7 +429,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Logging.ILogger.html", - "hash": "yj/G+SPJOdLAaWyBLYaJE28RvsZBTsVBQsowJ+7Axwo=" + "hash": "k5Q1i0C1zAdlKXFY/IWU0hfmVhBkxYpmWcgIpI+6hrE=" } }, "is_incremental": false, @@ -453,7 +453,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Logging.NullLogger.html", - "hash": "8OvI1GtGTE/Xe6s3zz0pYA8lJeyPAR7ji3q8cYIGof8=" + "hash": "OKyW5lo9qncrw3oXz0rtmQ5kJu7sOcX00j6TE3PjVr4=" } }, "is_incremental": false, @@ -477,7 +477,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.CloseMessage.html", - "hash": "2fDcVMCSKf6pPHoF+QWf3wVvCA3aXnI4YCAC72Mp7co=" + "hash": "9ledizXydupKEszIJgMx/jIP7fTTabQPOjWUpp9bWvM=" } }, "is_incremental": false, @@ -489,7 +489,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.ConnectionEstablishedMessage.html", - "hash": "7qDubWGBVPfRj9FufAHiTxrBYcdbVzbAlIrNlQURhg0=" + "hash": "7pK+8/ZWw5I18LLJ0h0wB+0JqAg4Ank2Vb2Dt/7kO+s=" } }, "is_incremental": false, @@ -501,7 +501,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.ConnectionFailedMessage.html", - "hash": "qv+6OrPL99RI1DDGJBUKfWxsyvKHii11OB9VhusNTWE=" + "hash": "9lL0g3VAKdZx5FKdfOFvFjIccx26EFNnsxnCpDx892s=" } }, "is_incremental": false, @@ -525,7 +525,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.ErrorMessage.html", - "hash": "UkeoERlcYNBL7JTN83nijbclhr/EhWxMs2SnYvyCdaY=" + "hash": "Utq/pV3hj4VovkkuywGc6KXTTBHF20O44sHQw/U/TIs=" } }, "is_incremental": false, @@ -537,7 +537,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.IMessage.html", - "hash": "d/adervs6AfR0YKcTkNAmBQ32+uIURtzKej1SSy6wxw=" + "hash": "1/QGphc/jcFAG2JeHhkkYItub6zA7j3R8hLU5meIbo0=" } }, "is_incremental": false, @@ -549,7 +549,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.JoinMessage.html", - "hash": "w2fI82wp+3ihFEoIJMh/UIawFHBfkb1a1YTtSLix+EU=" + "hash": "mNrIM+WAwOmWnFVVklj7zUf674ih5iI0i2K2wh9hr9A=" } }, "is_incremental": false, @@ -561,7 +561,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.JoinRequestMessage.html", - "hash": "oRiZimzkFV7L3C/K46hOYT4QV6zFVr8pwUiaPDWmyic=" + "hash": "QdOswNxoiu0V6r+X2v4+QSKU9lWPV4ZrGkxYJ6LFwCE=" } }, "is_incremental": false, @@ -585,7 +585,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.PresenceMessage.html", - "hash": "pFA1rUteAr+tQRG3FGEaNnZIUuwSwap56fFWn74FoLE=" + "hash": "l0joxelnmWmwnCwkrLkLPpunGC9q6Ti8uhCZOBeFfqE=" } }, "is_incremental": false, @@ -597,7 +597,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.ReadyMessage.html", - "hash": "2ePSqEiJ9iVOdDRWHU5b4GhPBiU5Kx9on48R00FDhWQ=" + "hash": "90L+xtuUStUkfbIRpYB1vyH31TNsDKjO03On0C1aW7o=" } }, "is_incremental": false, @@ -609,7 +609,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.SpectateMessage.html", - "hash": "b9jkcU6ix199cSsRpTfMuVq/6ZnKZdH+Er7F6k6hDsU=" + "hash": "W+yt/XGP7STfsaaiocnEQ3LoSrk475nzAr5t1VgHBf0=" } }, "is_incremental": false, @@ -621,7 +621,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.SubscribeMessage.html", - "hash": "ICcV9t/WMXqjtMkiyS+hBYXcg4uNVnNrn3fSk5NKpAQ=" + "hash": "ph6LwaUtWNr9zEka2zwvNFcBZkF9enr2Fx82NJQIS+A=" } }, "is_incremental": false, @@ -633,7 +633,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Message.UnsubscribeMessage.html", - "hash": "m5FFxFd5YIz0ZI7svFWo2wTv8GoZhkoluV/WZHeH9Hw=" + "hash": "WwsuP/lh1WZ1hEjkem1hwF2jzslzm1fuhtkaoS44x2g=" } }, "is_incremental": false, @@ -657,7 +657,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Party.PrivacySetting.html", - "hash": "ITTP5h2sOe7zCcxbjj8hdYbOlSCwVsWmJb1TrItp3vs=" + "hash": "nQWjaJnkGq5CLmLiya7OuVPhtmuqzxq3/OzL/McDetA=" } }, "is_incremental": false, @@ -669,7 +669,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Party.html", - "hash": "xMNGMNFWroLsfhKQnaXtjaxdDUbY28sK04pSoqo/n5Q=" + "hash": "Jk0apEOmz9p7hSapbwNc4QfEYlUatgi7MQMjbP9zIOs=" } }, "is_incremental": false, @@ -681,7 +681,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.RichPresence.html", - "hash": "FmNEhxO40m7EQCteFTIFeH0xmBD5rVp3fBteXrPTQaY=" + "hash": "mXbI3e9bqzPjoUqlZ4XCUBPUNeCtkVm4zwjlPu85nvQ=" } }, "is_incremental": false, @@ -693,7 +693,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Secrets.html", - "hash": "P/pZ95IMrFZcx1tDVq1bJqD+ITnzDPSyhdfquvONBrM=" + "hash": "OANMTnPTgh9F/QEGwbuIqPu4tZmOEGIcBroOhQk36fY=" } }, "is_incremental": false, @@ -705,7 +705,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.Timestamps.html", - "hash": "Ipe3cLu9EArikcg4enhwg2C3rwA8iFWXd0T3USbgaR0=" + "hash": "URedU4bG3kKZIVT0/lqIEu0EJ0RyX/vobJJLipyKnLA=" } }, "is_incremental": false, @@ -741,7 +741,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.User.Flag.html", - "hash": "8clqqeM2iEhPGTxw/la8cxH1JF+/kSIOkgh8J5uWRh8=" + "hash": "F6BYahuCRHJVmtGCqBhTSJ9vCAFvZxrw2BJxRKbLen4=" } }, "is_incremental": false, @@ -753,7 +753,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.User.PremiumType.html", - "hash": "Zv5A9bcMfDIDOpxXuaJwE5m3p1dK26Lkorzezm5rAIU=" + "hash": "itj6W2s7A5lrOvkoF+e1NLXnftPxsjCuOGDauHMGDbE=" } }, "is_incremental": false, @@ -765,7 +765,7 @@ "output": { ".html": { "relative_path": "api/DiscordRPC.User.html", - "hash": "Is7mQtgIdSbNauV202GocMov/9grfnyShPX295bV/0c=" + "hash": "LAGh6EXOYyjqNUfxoU1PeBHS6dTp1oCDcD6tgw0vR5Y=" } }, "is_incremental": false, @@ -933,7 +933,7 @@ "output": { ".html": { "relative_path": "index.html", - "hash": "yT5YJjoHMuSwqP1UBZF99DvPgjRdYJR3/2jdLdkGUCs=" + "hash": "OL2jfjsVPz+AegAhgMM8hP7F+IZXSdX2eEfqqJI3Vp8=" } }, "is_incremental": false, diff --git a/sitemap.xml b/sitemap.xml index 300e8261..078c4b84 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,451 +2,451 @@ https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Assets.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.BaseRichPresence.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Button.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Configuration.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.DiscordRpcClient.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnCloseEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnConnectionEstablishedEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnConnectionFailedEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnErrorEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnJoinEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnJoinRequestedEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnPresenceUpdateEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnReadyEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnRpcMessageEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnSpectateEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnSubscribeEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.OnUnsubscribeEvent.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Events.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.EventType.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Exceptions.BadPresenceException.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Exceptions.InvalidConfigurationException.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Exceptions.InvalidPipeException.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Exceptions.StringOutOfRangeException.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Exceptions.UninitializedException.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Exceptions.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Helper.StringTools.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Helper.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.IO.INamedPipeClient.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.IO.ManagedNamedPipeClient.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.IO.Opcode.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.IO.PipeFrame.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.IO.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Logging.ConsoleLogger.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Logging.FileLogger.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Logging.ILogger.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Logging.LogLevel.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Logging.NullLogger.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Logging.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.CloseMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.ConnectionEstablishedMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.ConnectionFailedMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.ErrorCode.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.ErrorMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.IMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.JoinMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.JoinRequestMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.MessageType.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.PresenceMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.ReadyMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.SpectateMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.SubscribeMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.UnsubscribeMessage.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Message.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Party.PrivacySetting.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Party.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.RichPresence.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Secrets.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.Timestamps.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.User.AvatarFormat.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.User.AvatarSize.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.User.Flag.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.User.PremiumType.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.User.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/api/DiscordRPC.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/getting_started/monogame.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/getting_started/standard.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/getting_started/unity3d.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/intro.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/join_spectate/intro.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/join_spectate/join.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/join_spectate/join_requests.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/join_spectate/spectate.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/rich_presence/guidelines.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/articles/rich_presence/intro.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 https://lachee.github.io/discord-rpc-csharp/index.html - 2023-04-18T12:02:01+00:00 + 2024-06-30T01:50:02+00:00 daily 0.5 diff --git a/xrefmap.yml b/xrefmap.yml index 22120f97..a19385d5 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -364,19 +364,19 @@ references: isSpec: "True" fullName: DiscordRPC.Configuration.CdnHost nameWithType: Configuration.CdnHost -- uid: DiscordRPC.Configuration.Enviroment - name: Enviroment - href: api/DiscordRPC.Configuration.html#DiscordRPC_Configuration_Enviroment - commentId: P:DiscordRPC.Configuration.Enviroment - fullName: DiscordRPC.Configuration.Enviroment - nameWithType: Configuration.Enviroment -- uid: DiscordRPC.Configuration.Enviroment* - name: Enviroment - href: api/DiscordRPC.Configuration.html#DiscordRPC_Configuration_Enviroment_ - commentId: Overload:DiscordRPC.Configuration.Enviroment - isSpec: "True" - fullName: DiscordRPC.Configuration.Enviroment - nameWithType: Configuration.Enviroment +- uid: DiscordRPC.Configuration.Environment + name: Environment + href: api/DiscordRPC.Configuration.html#DiscordRPC_Configuration_Environment + commentId: P:DiscordRPC.Configuration.Environment + fullName: DiscordRPC.Configuration.Environment + nameWithType: Configuration.Environment +- uid: DiscordRPC.Configuration.Environment* + name: Environment + href: api/DiscordRPC.Configuration.html#DiscordRPC_Configuration_Environment_ + commentId: Overload:DiscordRPC.Configuration.Environment + isSpec: "True" + fullName: DiscordRPC.Configuration.Environment + nameWithType: Configuration.Environment - uid: DiscordRPC.DiscordRpcClient name: DiscordRpcClient href: api/DiscordRPC.DiscordRpcClient.html @@ -3368,6 +3368,19 @@ references: isSpec: "True" fullName: DiscordRPC.User.Discriminator nameWithType: User.Discriminator +- uid: DiscordRPC.User.DisplayName + name: DisplayName + href: api/DiscordRPC.User.html#DiscordRPC_User_DisplayName + commentId: P:DiscordRPC.User.DisplayName + fullName: DiscordRPC.User.DisplayName + nameWithType: User.DisplayName +- uid: DiscordRPC.User.DisplayName* + name: DisplayName + href: api/DiscordRPC.User.html#DiscordRPC_User_DisplayName_ + commentId: Overload:DiscordRPC.User.DisplayName + isSpec: "True" + fullName: DiscordRPC.User.DisplayName + nameWithType: User.DisplayName - uid: DiscordRPC.User.Flag name: User.Flag href: api/DiscordRPC.User.Flag.html