Voice

interface Voice

Types

Link copied to clipboard
interface Opus
Link copied to clipboard
interface PlayerIcon
Link copied to clipboard
interface Proximity
Link copied to clipboard
interface Weights

Functions

Link copied to clipboard
abstract fun aesEncryptionKey(): Array<Byte>
Gets the aes encryption key Can be changed if server is behind the proxy, so don't store reference to this in addons
Link copied to clipboard
@NotNull
abstract fun clientModMinVersion(): @NotNull String
Link copied to clipboard
abstract fun clientModRequired(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun keepAliveTimeoutMs(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun mtuSize(): Int
Link copied to clipboard
@NotNull
abstract fun opus(): @NotNull ServerConfig.Voice.Opus
Link copied to clipboard
@NotNull
abstract fun playerIcon(): @NotNull ServerConfig.Voice.PlayerIcon
Link copied to clipboard
@NotNull
abstract fun proximity(): @NotNull ServerConfig.Voice.Proximity
Link copied to clipboard
abstract fun sampleRate(): Int
Link copied to clipboard
@NotNull
abstract fun weights(): @NotNull ServerConfig.Voice.Weights