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.

InternalFrameEventArgs.cs 567 B

12345678910111213141516171819202122
  1. using System;
  2. namespace Discord
  3. {
  4. internal class InternalFrameEventArgs : EventArgs
  5. {
  6. public ulong UserId { get; }
  7. public ulong ChannelId { get; }
  8. public byte[] Buffer { get; }
  9. public int Offset { get; }
  10. public int Count { get; }
  11. public InternalFrameEventArgs(ulong userId, ulong channelId, byte[] buffer, int offset, int count)
  12. {
  13. UserId = userId;
  14. ChannelId = channelId;
  15. Buffer = buffer;
  16. Offset = offset;
  17. Count = count;
  18. }
  19. }
  20. }