Table of Contents

Class NuiBind<T>

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

A NUI property binding that can be updated after being sent to the client.

public sealed class NuiBind<T> : NuiProperty<T>

Type Parameters

T

The type of value being bound.

Inheritance
NuiBind<T>
Inherited Members
Extension Methods

Constructors

NuiBind(string)

A NUI property binding that can be updated after being sent to the client.

Properties

Key

Methods

GetBindValue(NwPlayer, int)

Queries the specified player for the value of this binding.

GetBindValues(NwPlayer, int)

Queries the specified player for the array of values assigned to this binding.

SetBindValue(NwPlayer, int, T)

Assigns a value to the binding for the specified player.

SetBindValues(NwPlayer, int, IEnumerable<T>)

Assigns an array of values to the binding for the specified player.

SetBindWatch(NwPlayer, int, bool)

Marks this property as watched/un-watched.
A watched bind will invoke the NUI script event every time its value changes.