Astra Unity 2.6.6
Astra Unity Plugin
|
Two element serializable dictionary with Type as key and List</ISubscription> as value More...
Protected Attributes | |
new TupletsTListISub | __tuplets = null |
Protected Attributes inherited from Astra.Serialization.SerializableDictionary< Type, List< EventBus.ISubscription > > | |
Tuplets< A, B > | __tuplets |
Properties | |
override Tuplets< Type, List< EventBus.ISubscription > > | _tuplets [getset] |
Properties inherited from Astra.Serialization.SerializableDictionary< Type, List< EventBus.ISubscription > > | |
virtual Tuplets< A, B > | _tuplets [getset] |
int | Count [get] |
Count of tuplets in the dictionary | |
ICollection< A > | Keys [get] |
Retreives the list of keys | |
ICollection< B > | Values [get] |
Retrieves the list of values | |
bool | IsReadOnly [get] |
Whether this is read only | |
B | this[A key] [getset] |
Returns the value from the given key More... | |
Additional Inherited Members | |
Public Member Functions inherited from Astra.Serialization.SerializableDictionary< Type, List< EventBus.ISubscription > > | |
Type | GetKeyType () |
Retreives the type of the key element | |
Type | GetValType () |
Retreives the type of the value element | |
void | Clear () |
Clears the dictionary | |
void | CopyTo (KeyValuePair< A, B >[] pairs, int index) |
Defined in the IDictionary interface, but not implemented here | |
bool | Contains (KeyValuePair< A, B > pair) |
Whether the given key is found in the dictionary More... | |
void | Add (KeyValuePair< A, B > pair) |
Adds the given key/value pair into the dictionary More... | |
void | Add (A a, B b) |
Adds this key/value pair to the dictionary More... | |
bool | Remove (KeyValuePair< A, B > pair) |
Removes the given key/value pair from the dictionary More... | |
bool | Remove (A a) |
Removes this key/value pair from the dictionary More... | |
bool | ContainsKey (A a) |
Whether the dictionary contains this key More... | |
bool | ContainsValue (B b) |
Whether the dictionary contains this value More... | |
Tuplet< A, B > | GetFromSlot (int slot) |
Retrieves the tuplet at a given index More... | |
B | GetSecondFromSlot (int slot) |
Get the 2nd element (the value) from a given index More... | |
bool | TryGetValue (A a, out B b) |
Attempts to retrieve the value for the given key. Returns false if the key does not exist in this dictionary. More... | |
void | OnBeforeSerialize () |
Implementation for Unity ISerializationCallbackReceiver | |
void | OnAfterDeserialize () |
Implementation for Unity ISerializationCallbackReceiver | |
virtual void | Upsert (System.Object a, System.Object b) |
Adds or updates the value for the given key More... | |
void | RemoveKey (System.Object a) |
Removes the tuplet for the given key More... | |
SerializableDictionaryEnumerator | GetEnumerator () |
Retrieves an enumerator for this dictionary | |
System.Collections.IEnumerator | GetEnumeratorGeneric () |
Retreives a generic enumerator for this dictionary | |
Two element serializable dictionary with Type as key and List</ISubscription> as value