Class HashSetBaseTypeTestHelper
Inheritance
HashSetBaseTypeTestHelper
  Implements
Inherited Members
      NetworkBehaviour.__rpc_func_table
    
    
      NetworkBehaviour.__rpc_name_table
    
    
      NetworkBehaviour.__rpc_exec_stage
    
    
      NetworkBehaviour.NetworkVariableFields
    
    
      NetworkBehaviour.__getTypeName()
    
    
    
    
    
    
    
    
      NetworkBehaviour.__createNativeList<T>()
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      NetworkBehaviour.__initializeVariables()
    
    
      NetworkBehaviour.__initializeRpcs()
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      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, InstantiateParameters)
    
    
      Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    
    
    
    
      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 HashSetBaseTypeTestHelper : ListTestHelperBase, IHashSetTestHelperBase<int>
  Fields
Instances
Declaration
public static Dictionary<ulong, Dictionary<ulong, HashSetBaseTypeTestHelper>> Instances
  Field Value
| Type | Description | 
|---|---|
| Dictionary<ulong, Dictionary<ulong, HashSetBaseTypeTestHelper>> | 
ListCollectionOwner
Declaration
public NetworkVariable<HashSet<int>> ListCollectionOwner
  Field Value
| Type | Description | 
|---|---|
| NetworkVariable<HashSet<int>> | 
ListCollectionServer
Declaration
public NetworkVariable<HashSet<int>> ListCollectionServer
  Field Value
| Type | Description | 
|---|---|
| NetworkVariable<HashSet<int>> | 
NetworkVariableChanges
Declaration
public Dictionary<ListTestHelperBase.Targets, Dictionary<ListTestHelperBase.DeltaTypes, HashSet<int>>> NetworkVariableChanges
  Field Value
| Type | Description | 
|---|---|
| Dictionary<ListTestHelperBase.Targets, Dictionary<ListTestHelperBase.DeltaTypes, HashSet<int>>> | 
Methods
Add(int, Targets)
Declaration
public void Add(int value, ListTestHelperBase.Targets target)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | value | |
| ListTestHelperBase.Targets | target | 
AddRange(HashSet<int>, Targets)
Declaration
public void AddRange(HashSet<int> values, ListTestHelperBase.Targets target)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HashSet<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(HashSet<int>, Targets)
Declaration
public void FullSet(HashSet<int> values, ListTestHelperBase.Targets target)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HashSet<int> | values | |
| ListTestHelperBase.Targets | target | 
GetHashSetValues(int)
Declaration
public static HashSet<int> GetHashSetValues(int count = 5)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | count | 
Returns
| Type | Description | 
|---|---|
| HashSet<int> | 
GetNetVar(Targets)
Declaration
public NetworkVariable<HashSet<int>> GetNetVar(ListTestHelperBase.Targets target)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ListTestHelperBase.Targets | target | 
Returns
| Type | Description | 
|---|---|
| NetworkVariable<HashSet<int>> | 
OnNetworkDespawn()
Declaration
public override void OnNetworkDespawn()
  Overrides
OnNetworkPostSpawn()
Declaration
protected override void OnNetworkPostSpawn()
  Overrides
OnOwnerListValuesChanged(HashSet<int>, HashSet<int>)
Declaration
public void OnOwnerListValuesChanged(HashSet<int> previous, HashSet<int> current)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HashSet<int> | previous | |
| HashSet<int> | current | 
OnServerListValuesChanged(HashSet<int>, HashSet<int>)
Declaration
public void OnServerListValuesChanged(HashSet<int> previous, HashSet<int> current)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HashSet<int> | previous | |
| HashSet<int> | current | 
OnSetOwnerValues()
Declaration
public HashSet<int> OnSetOwnerValues()
  Returns
| Type | Description | 
|---|---|
| HashSet<int> | 
OnSetServerValues()
Declaration
public HashSet<int> OnSetServerValues()
  Returns
| Type | Description | 
|---|---|
| HashSet<int> | 
Remove(int, Targets)
Declaration
public void Remove(int value, ListTestHelperBase.Targets target)
  Parameters
| Type | Name | Description | 
|---|---|---|
| int | value | |
| ListTestHelperBase.Targets | target | 
ResetState()
Declaration
public static void ResetState()
  ResetTrackedChanges()
Declaration
public void ResetTrackedChanges()
  TrackChanges(Targets, HashSet<int>, HashSet<int>)
Declaration
public void TrackChanges(ListTestHelperBase.Targets target, HashSet<int> previous, HashSet<int> current)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ListTestHelperBase.Targets | target | |
| HashSet<int> | previous | |
| HashSet<int> | current | 
ValidateInstances()
Declaration
public bool ValidateInstances()
  Returns
| Type | Description | 
|---|---|
| bool |