Photon Fusion 2.0.0

Public Member Functions | List of all members
NetworkBehaviour.DictionaryReader< K, V > Struct Template Reference

Provides a reader for network dictionaries with keys of type K and values of type V. More...

Public Member Functions

NetworkDictionaryReadOnly< K, V > Read (NetworkBehaviourBuffer first)
 Reads a network dictionary from the provided network behaviour buffer.
 

Detailed Description

Provides a reader for network dictionaries with keys of type K and values of type V.

Template Parameters
KThe type of keys in the network dictionary.
VThe type of values in the network dictionary.

Member Function Documentation

◆ Read()

Reads a network dictionary from the provided network behaviour buffer.

Parameters
firstThe network behaviour buffer to read the network dictionary from.
Returns
A read-only view of the network dictionary.