Class DiscordVoiceRegion
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents information about a Discord voice server region.
public class DiscordVoiceRegion
- Inheritance
-
DiscordVoiceRegion
Properties
- Id
Gets the unique ID for the region.
- IsCustom
Gets whether this is a custom voice region.
- IsDeprecated
Gets whether this voice region is deprecated.
- IsOptimal
Gets whether this region is the most optimal for the current user.
- IsVIP
Gets whether this is a VIP-only region.
- Name
Gets the name of the region.
- SampleHostname
Gets an example server hostname for this region.
- SamplePort
Gets an example server port for this region.
Methods
- Equals(DiscordVoiceRegion)
Gets whether two DiscordVoiceRegions are equal.
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
Operators
- operator ==(DiscordVoiceRegion, DiscordVoiceRegion)
Gets whether the two DiscordVoiceRegion objects are equal.
- operator !=(DiscordVoiceRegion, DiscordVoiceRegion)
Gets whether the two DiscordVoiceRegion objects are not equal.