Photon Fusion
2.0.9
A surrogate for serializing a linked list. More...
Inherits UnitySurrogateBase.
Public Member Functions | |
| override void | Init (int capacity) |
| Initializes the UnityLinkedListSurrogate with a specified capacity. More... | |
| override void | Read (int *data, int capacity) |
| Reads data into the UnityLinkedListSurrogate from a specified memory location. More... | |
| override void | Write (int *data, int capacity) |
| Writes data from the UnityLinkedListSurrogate to a specified memory location. More... | |
Properties | |
| abstract T[] | DataProperty [get, set] |
| Gets or sets the data property. More... | |
A surrogate for serializing a linked list.
| T | The type of the elements in the linked list. |
| ReaderWriter | The type of the reader writer for the elements in the linked list. |
| T | : | unmanaged | |
| ReaderWriter | : | unmanaged | |
| ReaderWriter | : | IElementReaderWriter<T> |
|
virtual |
Initializes the UnityLinkedListSurrogate with a specified capacity.
| capacity | The capacity to initialize the UnityLinkedListSurrogate with. |
Implements UnitySurrogateBase.
|
virtual |
Reads data into the UnityLinkedListSurrogate from a specified memory location.
| data | The memory location to read from. |
| capacity | The number of elements to read. |
Implements UnitySurrogateBase.
|
virtual |
Writes data from the UnityLinkedListSurrogate to a specified memory location.
| data | The memory location to write to. |
| capacity | The number of elements to write. |
Implements UnitySurrogateBase.
|
getset |
Gets or sets the data property.