Class SyncHashSet<T>
Inheritance
SyncHashSet<T>
Assembly: LiteEntitySystem.dll
Syntax
public class SyncHashSet<T> : SyncableField, IEnumerable<T>, IEnumerable where T : unmanaged
Type Parameters
Properties
Count
Declaration
public int Count { get; }
Property Value
Methods
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
x |
|
AfterReadRPC()
Declaration
protected override void AfterReadRPC()
Overrides
BeforeReadRPC()
Declaration
protected override void BeforeReadRPC()
Overrides
Clear()
Declaration
Contains(T)
Declaration
public bool Contains(T x)
Parameters
Type |
Name |
Description |
T |
x |
|
Returns
GetEnumerator()
Declaration
public HashSet<T>.Enumerator GetEnumerator()
Returns
OnRollback()
Declaration
protected override void OnRollback()
Overrides
OnSyncRequested()
Declaration
protected override void OnSyncRequested()
Overrides
RegisterRPC(ref SyncableRPCRegistrator)
Declaration
protected override void RegisterRPC(ref SyncableRPCRegistrator r)
Parameters
Overrides
Remove(T)
Declaration
public bool Remove(T key)
Parameters
Type |
Name |
Description |
T |
key |
|
Returns
ToArray()
Declaration
Returns
Type |
Description |
T[] |
hashset copied array. Returns null if HashSet is empty
|
Implements