Skip to content

VoiceChannelInfo ​

@vimp-mp/types 2.0.1

Interface · Shared types API

Voice-channel state and permissions announced to a client.

ts
interface VoiceChannelInfo

Members ​

id ​

ts
id: number

Server-assigned channel identifier.

maxDistance ​

ts
maxDistance: number | null

Maximum audible distance, or null for a non-spatial channel.

name ​

ts
name: string

Application-defined channel label.

permissions ​

ts
permissions: VoicePermissions

Current player's speaking and listening permissions.

spatial ​

ts
spatial: boolean

Whether the channel applies distance-based attenuation.

VIMP developer documentation