GetCurrentChannelId
格式
GetCurrentChannelId(Player)
- 函数
- 所属对象:AgoraVoiceService
只有服务器脚本可访问
描述
获取指定玩家的所在频道id
参数
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
isMute | bool | 是否静音 |
返回值
类型 | 描述 |
---|---|
int | 返回指定玩家所在的频道id |
文档更新时间: 2020-12-26 16:30 作者:王辰剑
本文档使用 MinDoc 发布
GetCurrentChannelId(Player)
只有服务器脚本可访问
获取指定玩家的所在频道id
名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
isMute | bool | 是否静音 |
类型 | 描述 |
---|---|
int | 返回指定玩家所在的频道id |