Struct NetworkListEvent<T>
Struct containing event information about changes to a NetworkList.
Inherited Members
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public struct NetworkListEvent<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type for the list that the event is about |
Fields
Index
the index changed, added or removed if available
Declaration
public int Index
Field Value
| Type | Description |
|---|---|
| int |
PreviousValue
The previous value when "Value" has changed, if available.
Declaration
public T PreviousValue
Field Value
| Type | Description |
|---|---|
| T |
Type
Enum representing the operation made to the list.
Declaration
public NetworkListEvent<T>.EventType Type
Field Value
| Type | Description |
|---|---|
| NetworkListEvent<T>.EventType |
Value
The value changed, added or removed if available.
Declaration
public T Value
Field Value
| Type | Description |
|---|---|
| T |