Search Results for

    Show / Hide Table of Contents

    Class LoadingPrompt

    Methods to manage the display of a loading spinner prompt.

    Inheritance
    Object
    LoadingPrompt
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: GTA.UI
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public static class LoadingPrompt

    Properties

    | Improve this Doc View Source

    IsActive

    Gets a value indicating whether the Loading Prompt is currently being displayed

    Declaration
    public static bool IsActive { get; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    Hide()

    Remove the loading prompt at the bottom right of the screen

    Declaration
    public static void Hide()
    | Improve this Doc View Source

    Show(String, LoadingSpinnerType)

    Creates a loading prompt at the bottom right of the screen with the given text and spinner type

    Declaration
    public static void Show(string loadingText = null, LoadingSpinnerType spinnerType = LoadingSpinnerType.RegularClockwise)
    Parameters
    Type Name Description
    String loadingText

    The text to display next to the spinner

    LoadingSpinnerType spinnerType

    The style of spinner to draw

    Remarks

    Clockwise1, Clockwise2, Clockwise3 and RegularClockwise all see to be the same. But Rockstar apparently always uses RegularClockwise in their scripts.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX