Table of Contents

Struct DiscordIpDiscoveryPacket

Namespace
DSharpPlus.VoiceLink
Assembly
DSharpPlus.VoiceLink.dll
public readonly struct DiscordIpDiscoveryPacket
Inherited Members

Constructors

public DiscordIpDiscoveryPacket(byte[] data)

Parameters

data byte[]
public DiscordIpDiscoveryPacket(ushort type, ushort length, uint ssrc, string address, ushort port)

Parameters

type ushort
length ushort
ssrc uint
address string
port ushort

Properties

public string Address { get; init; }

Property Value

string
public ushort Length { get; init; }

Property Value

ushort
public ushort Port { get; init; }

Property Value

ushort
public uint Ssrc { get; init; }

Property Value

uint
public ushort Type { get; init; }

Property Value

ushort

Methods

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

public static implicit operator byte[](DiscordIpDiscoveryPacket ipDiscovery)

Parameters

ipDiscovery DiscordIpDiscoveryPacket

Returns

byte[]
public static implicit operator DiscordIpDiscoveryPacket(byte[] ipDiscoveryData)

Parameters

ipDiscoveryData byte[]

Returns

DiscordIpDiscoveryPacket