A surrogate for serializing a dictionary. More...
Inherits UnitySurrogateBase.
Public Member Functions | |
override void | Init (int capacity) |
Initializes the UnityDictionarySurrogate with a specified capacity. More... | |
override void | Read (int *data, int capacity) |
Reads data into the UnityDictionarySurrogate from a specified memory location. More... | |
override void | Write (int *data, int capacity) |
Writes data from the UnityDictionarySurrogate to a specified memory location. More... | |
Properties | |
abstract SerializableDictionary< TKeyType, TValueType > | DataProperty [get, set] |
Gets or sets the data property. More... | |
A surrogate for serializing a dictionary.
TKeyType | The type of the key. |
TKeyReaderWriter | The type of the key reader writer. |
TValueType | The type of the value. |
TValueReaderWriter | The type of the value reader writer. |
TKeyType | : | unmanaged | |
TKeyReaderWriter | : | unmanaged | |
TKeyReaderWriter | : | IElementReaderWriter<TKeyType> | |
TValueType | : | unmanaged | |
TValueReaderWriter | : | unmanaged | |
TValueReaderWriter | : | IElementReaderWriter<TValueType> |
|
virtual |
Initializes the UnityDictionarySurrogate with a specified capacity.
capacity | The capacity to initialize the UnityDictionarySurrogate with. |
Implements UnitySurrogateBase.
|
virtual |
Reads data into the UnityDictionarySurrogate 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 UnityDictionarySurrogate 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.