Table of Contents

Method TryCreateNuiWindow

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

TryCreateNuiWindow(NuiWindow, out NuiWindowToken, string)

Create a NUI window for this player.

public bool TryCreateNuiWindow(NuiWindow window, out NuiWindowToken token, string windowId = "")

Parameters

window NuiWindow

The window to create.

token NuiWindowToken

The created player-unique token for this window instance.

windowId string

A unique alphanumeric ID identifying this window. Re-creating a window with the same id of one already open will immediately close the old one.

Returns

bool

True if the window was successfully created, otherwise false.