A class in Root.Township, Alta.Networking.Internal.
Walks the linked list of serialized entities from a start index, returning each entity's serializer. Used by EntityManager; skips placeholder links.
Constructors
Fields
3 private and internal fields
| Member | What it is |
|---|
private int iterationIndex | How many links this pass has stepped through; used in error logs. |
private NetworkEntityLink[] links | The entity link array it walks, following each link's next-serialized pointer. |
private static Logger logger | Logger for broken serialized-list errors. |
Properties
| Member | What it is |
|---|
EntitySerializer Current { get; } | The serializer of the current entity. |
int Start { get; set; } | Index of the link to start from. |
1 private and internal property
| Member | What it is |
|---|
private object System.Collections.IEnumerator.Current { get; } | Non-generic Current; returns the current EntitySerializer. |
Methods
| Member | What it is |
|---|
void Dispose() | Does nothing. |
IEnumerator<EntitySerializer> GetEnumerator() | Resets and returns itself. |
virtual bool MoveNext() | Moves to the next real serialized entity. Logs and stops if the list is broken. |
virtual void Reset() | Goes back to the link at Start. |
1 private and internal method
| Member | What it is |
|---|
private IEnumerator System.Collections.IEnumerable.GetEnumerator() | Resets and returns itself. |
Used in
Members of other types that take, return or hold a SerializedEnumerable: