Added reference project
This commit is contained in:
17
ref/Net/WebSockets/WebSocketEventEventArgs.cs
Normal file
17
ref/Net/WebSockets/WebSocketEventEventArgs.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
|
||||
namespace Discord.Net.WebSockets
|
||||
{
|
||||
public class WebSocketEventEventArgs : EventArgs
|
||||
{
|
||||
public string Type { get; }
|
||||
public JToken Payload { get; }
|
||||
|
||||
internal WebSocketEventEventArgs(string type, JToken data)
|
||||
{
|
||||
Type = type;
|
||||
Payload = data;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user