You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

WebSocketEventEventArgs.cs 364 B

1234567891011121314151617
  1. using Newtonsoft.Json.Linq;
  2. using System;
  3. namespace Discord.Net.WebSockets
  4. {
  5. public class WebSocketEventEventArgs : EventArgs
  6. {
  7. public string Type { get; }
  8. public JToken Payload { get; }
  9. internal WebSocketEventEventArgs(string type, JToken data)
  10. {
  11. Type = type;
  12. Payload = data;
  13. }
  14. }
  15. }