Search Results for

    Show / Hide Table of Contents

    Class LavalinkUtilities

    Various utilities for Lavalink.

    Inheritance
    System.Object
    LavalinkUtilities
    Namespace: DisCatSharp.Lavalink
    Assembly: DisCatSharp.Lavalink.dll
    Syntax
    public static class LavalinkUtilities

    Methods

    | Improve this Doc View Source

    DecodeTrack(String)

    Decodes a Lavalink track string.

    Declaration
    public static LavalinkTrack DecodeTrack(string track)
    Parameters
    Type Name Description
    System.String track

    Track string to decode.

    Returns
    Type Description
    LavalinkTrack

    Decoded Lavalink track.

    | Improve this Doc View Source

    MayStartNext(TrackEndReason)

    Indicates whether a new track should be started after receiving this TrackEndReason. If this is false, either this event is already triggered because another track started (REPLACED) or because the player is stopped (STOPPED, CLEANUP).

    Declaration
    public static bool MayStartNext(this TrackEndReason reason)
    Parameters
    Type Name Description
    TrackEndReason reason
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems