kotlin
object AudioServerTransportLoader-owned transport. Paper deliberately has no full-player transport.
object AudioServerTransportLoader-owned transport. Paper deliberately has no full-player transport.
class RemoteAudioHandle internal constructor(@Volatile internal var player: ServerPlayer, source: AudioSource, options: AudioOptions) : AudioHandle远程状态来自客户端确认;调用 refresh 获取最新进度。
internal fun rebind(current: ServerPlayer)Re-points the handle after a respawn or dimension change replaced the player instance.
fun playPlayerAudio(player: ServerPlayer, source: AudioSource, options: AudioOptions = AudioOptions()): RemoteAudioHandle完整远程播放需要兼容的 Katton 模组客户端,Paper 不提供此能力。