Photon Fusion 2.0.4

Public Member Functions | Public Attributes | Properties | List of all members
NetworkDictionary< K, V >.Enumerator Struct Reference

Enumerator for NetworkDictionary. More...

Inherits IEnumerator< KeyValuePair< K, V >>.

Public Member Functions

void Dispose ()
 Dispose enumerator. More...
 
bool MoveNext ()
 Move to next entry in dictionary. More...
 
void Reset ()
 Reset enumerator. More...
 

Public Attributes

int _bucket
 
NetworkDictionary< K, V > _dict
 
int _entry
 

Properties

KeyValuePair< K, V > Current [get]
 Current key/value pair. More...
 
object IEnumerator. Current [get]
 

Detailed Description

Enumerator for NetworkDictionary.

Member Function Documentation

◆ Dispose()

void Dispose ( )

Dispose enumerator.

◆ MoveNext()

bool MoveNext ( )

Move to next entry in dictionary.

Returns
Returns true if there is a next entry.

◆ Reset()

void Reset ( )

Reset enumerator.

Property Documentation

◆ Current

KeyValuePair<K, V> Current
get

Current key/value pair.

Exceptions
InvalidOperationExceptionThrown if enumerator is not valid.