Class ListTestHelperListInt
Inheritance
ListTestHelperListInt
Implements
Inherited Members
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class ListTestHelperListInt : ListTestHelperBase, IListTestHelperBase<List<int>>
Fields
Instances
Declaration
public static Dictionary<ulong, Dictionary<ulong, ListTestHelperListInt>> Instances
Field Value
| Type | Description |
|---|---|
| Dictionary<ulong, Dictionary<ulong, ListTestHelperListInt>> |
ListCollectionOwner
Declaration
public NetworkVariable<List<List<int>>> ListCollectionOwner
Field Value
| Type | Description |
|---|---|
| NetworkVariable<List<List<int>>> |
ListCollectionServer
Declaration
public NetworkVariable<List<List<int>>> ListCollectionServer
Field Value
| Type | Description |
|---|---|
| NetworkVariable<List<List<int>>> |
NetworkVariableChanges
Declaration
public Dictionary<ListTestHelperBase.Targets, Dictionary<ListTestHelperBase.DeltaTypes, List<List<int>>>> NetworkVariableChanges
Field Value
| Type | Description |
|---|---|
| Dictionary<ListTestHelperBase.Targets, Dictionary<ListTestHelperBase.DeltaTypes, List<List<int>>>> |
Methods
Add(List<int>, Targets)
Declaration
public void Add(List<int> value, ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| List<int> | value | |
| ListTestHelperBase.Targets | target |
AddRange(List<List<int>>, Targets)
Declaration
public void AddRange(List<List<int>> values, ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| List<List<int>> | values | |
| ListTestHelperBase.Targets | target |
Clear(Targets)
Declaration
public void Clear(ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTestHelperBase.Targets | target |
CompareTrackedChanges(Targets)
Declaration
public override bool CompareTrackedChanges(ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTestHelperBase.Targets | target |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
FullSet(List<List<int>>, Targets)
Declaration
public void FullSet(List<List<int>> values, ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| List<List<int>> | values | |
| ListTestHelperBase.Targets | target |
GetNetVar(Targets)
Declaration
public NetworkVariable<List<List<int>>> GetNetVar(ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTestHelperBase.Targets | target |
Returns
| Type | Description |
|---|---|
| NetworkVariable<List<List<int>>> |
Insert(List<int>, int, Targets, bool)
Declaration
public void Insert(List<int> value, int index, ListTestHelperBase.Targets target, bool checkDirty = true)
Parameters
| Type | Name | Description |
|---|---|---|
| List<int> | value | |
| int | index | |
| ListTestHelperBase.Targets | target | |
| bool | checkDirty |
OnNetworkDespawn()
Gets called when the NetworkObject gets despawned. This method runs both client and server side.
Declaration
public override void OnNetworkDespawn()
Overrides
OnNetworkPostSpawn()
Gets called after the NetworkObject is spawned. All NetworkBehaviours associated with the NetworkObject will have had OnNetworkSpawn() invoked.
Declaration
protected override void OnNetworkPostSpawn()
Overrides
Remarks
Will be invoked on each NetworkBehaviour associated with the NetworkObject being spawned. All associated NetworkBehaviour components will have had OnNetworkSpawn() invoked on the spawned NetworkObject.
OnOwnerListValuesChanged(List<List<int>>, List<List<int>>)
Declaration
public void OnOwnerListValuesChanged(List<List<int>> previous, List<List<int>> current)
Parameters
| Type | Name | Description |
|---|---|---|
| List<List<int>> | previous | |
| List<List<int>> | current |
OnServerListValuesChanged(List<List<int>>, List<List<int>>)
Declaration
public void OnServerListValuesChanged(List<List<int>> previous, List<List<int>> current)
Parameters
| Type | Name | Description |
|---|---|---|
| List<List<int>> | previous | |
| List<List<int>> | current |
OnSetOwnerValues()
Declaration
public List<List<int>> OnSetOwnerValues()
Returns
| Type | Description |
|---|---|
| List<List<int>> |
OnSetServerValues()
Declaration
public List<List<int>> OnSetServerValues()
Returns
| Type | Description |
|---|---|
| List<List<int>> |
Remove(List<int>, Targets)
Declaration
public void Remove(List<int> value, ListTestHelperBase.Targets target)
Parameters
| Type | Name | Description |
|---|---|---|
| List<int> | value | |
| ListTestHelperBase.Targets | target |
ResetState()
Declaration
public static void ResetState()
ResetTrackedChanges()
Declaration
public void ResetTrackedChanges()
TrackChanges(Targets, List<List<int>>, List<List<int>>)
Declaration
public void TrackChanges(ListTestHelperBase.Targets target, List<List<int>> previous, List<List<int>> current)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTestHelperBase.Targets | target | |
| List<List<int>> | previous | |
| List<List<int>> | current |
UpdateValue(List<int>, Targets, bool)
Declaration
public void UpdateValue(List<int> value, ListTestHelperBase.Targets target, bool checkDirty = true)
Parameters
| Type | Name | Description |
|---|---|---|
| List<int> | value | |
| ListTestHelperBase.Targets | target | |
| bool | checkDirty |
ValidateInstances()
Declaration
public bool ValidateInstances()
Returns
| Type | Description |
|---|---|
| bool |