Struct DiscordIpDiscoveryPacket
- Namespace
- DSharpPlus.VoiceLink
- Assembly
- DSharpPlus.VoiceLink.dll
public readonly struct DiscordIpDiscoveryPacket
- Inherited Members
Constructors
DiscordIpDiscoveryPacket(byte[])
public DiscordIpDiscoveryPacket(byte[] data)
Parameters
data
byte[]
DiscordIpDiscoveryPacket(ushort, ushort, uint, string, ushort)
public DiscordIpDiscoveryPacket(ushort type, ushort length, uint ssrc, string address, ushort port)
Parameters
Properties
Address
public string Address { get; init; }
Property Value
Length
public ushort Length { get; init; }
Property Value
Port
public ushort Port { get; init; }
Property Value
Ssrc
public uint Ssrc { get; init; }
Property Value
Type
public ushort Type { get; init; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
implicit operator byte[](DiscordIpDiscoveryPacket)
public static implicit operator byte[](DiscordIpDiscoveryPacket ipDiscovery)
Parameters
ipDiscovery
DiscordIpDiscoveryPacket
Returns
- byte[]
implicit operator DiscordIpDiscoveryPacket(byte[])
public static implicit operator DiscordIpDiscoveryPacket(byte[] ipDiscoveryData)
Parameters
ipDiscoveryData
byte[]