23 lines
561 B
C#
23 lines
561 B
C#
using System;
|
|
|
|
namespace Discord
|
|
{
|
|
public class VoicePacketEventArgs : EventArgs
|
|
{
|
|
public ulong UserId { get; }
|
|
public ulong ChannelId { get; }
|
|
public byte[] Buffer { get; }
|
|
public int Offset { get; }
|
|
public int Count { get; }
|
|
|
|
public VoicePacketEventArgs(ulong userId, ulong channelId, byte[] buffer, int offset, int count)
|
|
{
|
|
UserId = userId;
|
|
ChannelId = channelId;
|
|
Buffer = buffer;
|
|
Offset = offset;
|
|
Count = count;
|
|
}
|
|
}
|
|
}
|