ScriptWindowDestroyed

From RAGE Multiplayer Wiki
Revision as of 16:05, 27 November 2018 by Sake (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Event

 C#




C# Syntax

public delegate void OnScriptWindowDestroyedDelegate(HtmlWindow window);

Parameters

  • window: The created browser handler, output expects RAGE.Ui.HtmlWindow type.

Example

Events.OnScriptWindowDestroyed += OnScriptWindowDestroyed;
public void OnScriptWindowDestroyed(RAGE.Ui.HtmlWindow window)
{
    RAGE.Chat.Output($"Find out what this does");
}