ClientSerializedEnumerable
A class in Root.Township, Alta.Networking.Internal.
Client-side enumerator over the entities the client serializes, in identifier order from a sorted list. EntityManager.GetClientSerialized returns its single instance.
- Listed in Networking and servers
- Inherits or implements
SerializedEnumerable
Constructors
| Member | What it is |
|---|---|
ClientSerializedEnumerable(SortedList<uint, NetworkEntityLink> pairs) | Creates a ClientSerializedEnumerable from pairs. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private bool isStarted | Whether iteration has reached the entity whose identifier is Start. |
private IEnumerator<KeyValuePair<uint, NetworkEntityLink>> pairEnumerator | Enumerator over pairs for the current pass. |
private SortedList<uint, NetworkEntityLink> pairs | The sorted list of identifier to entity link that it walks (shared with EntityManager). |
private List<uint> tempEmptyEntities | Identifiers of links found without an entity, removed on the next Reset. |
Methods
Used in
Members of other types that take, return or hold a ClientSerializedEnumerable: