Photon Server API
Public Member Functions | List of all members
Photon.Hive.Caching.EventCacheDictionary Class Reference

Dictionary implementation to store EventCache instances by actor number. More...

Inheritance diagram for Photon.Hive.Caching.EventCacheDictionary:

Public Member Functions

EventCache GetOrCreateEventCache (int actorNumber)
 
bool TryGetEventCache (int actorNumber, out EventCache eventCache)
 
bool RemoveEventCache (int actorNumber)
 
void ReplaceEvent (int actorNumber, byte eventCode, Hashtable eventData)
 
bool RemoveEvent (int actorNumber, byte eventCode)
 
void MergeEvent (int actorNumber, byte eventCode, Hashtable eventData)
 
IEnumerator< KeyValuePair< int, EventCache > > GetEnumerator ()
 

Detailed Description

Dictionary implementation to store EventCache instances by actor number.

Member Function Documentation

IEnumerator<KeyValuePair<int, EventCache> > Photon.Hive.Caching.EventCacheDictionary.GetEnumerator ( )
inline
EventCache Photon.Hive.Caching.EventCacheDictionary.GetOrCreateEventCache ( int  actorNumber)
inline
void Photon.Hive.Caching.EventCacheDictionary.MergeEvent ( int  actorNumber,
byte  eventCode,
Hashtable  eventData 
)
inline
bool Photon.Hive.Caching.EventCacheDictionary.RemoveEvent ( int  actorNumber,
byte  eventCode 
)
inline
bool Photon.Hive.Caching.EventCacheDictionary.RemoveEventCache ( int  actorNumber)
inline
void Photon.Hive.Caching.EventCacheDictionary.ReplaceEvent ( int  actorNumber,
byte  eventCode,
Hashtable  eventData 
)
inline
bool Photon.Hive.Caching.EventCacheDictionary.TryGetEventCache ( int  actorNumber,
out EventCache  eventCache 
)
inline