Photon Fusion
2.0.8
A read-only version of NetworkDictionary<TKey,TValue>. More...
Public Member Functions | |
| V | Get (K key) |
| Returns the value for the given key. Will throw an error if the key is not found. More... | |
| bool | TryGet (K key, out V value) |
| Attempts to get the value for a given key. If found, returns true. More... | |
Properties | |
| int | Capacity [get] |
| The maximum number of entries this dictionary may contain. More... | |
| int | Count [get] |
| Current number of key/value entries in the Dictionary. More... | |
A read-only version of NetworkDictionary<TKey,TValue>.
| K | The type of the key. |
| V | The type of the value. |
| V Get | ( | K | key | ) |
Returns the value for the given key. Will throw an error if the key is not found.
| bool TryGet | ( | K | key, |
| out V | value | ||
| ) |
Attempts to get the value for a given key. If found, returns true.
| key | The key to remove. |
| value | Returns value of removed item. Returns default value if key did not exist. |
|
get |
The maximum number of entries this dictionary may contain.
|
get |
Current number of key/value entries in the Dictionary.