Class NuiBind<T>
A NUI property binding that can be updated after being sent to the client.
public sealed class NuiBind<T> : NuiProperty<T>
Type Parameters
TThe type of value being bound.
- Inheritance
-
NuiProperty<T>NuiBind<T>
- Inherited Members
- Extension Methods
Constructors
- NuiBind(string)
A NUI property binding that can be updated after being sent to the client.
Properties
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.