|
| UDictionary () |
|
| UDictionary (IEqualityComparer< TKey > comparer) |
|
| UDictionary (IDictionary< TKey, TValue > dictionary) |
|
| UDictionary (int capacity) |
|
| UDictionary (IDictionary< TKey, TValue > dictionary, IEqualityComparer< TKey > comparer) |
|
| UDictionary (int capacity, IEqualityComparer< TKey > comparer) |
|
void | OnAfterDeserialize () |
|
void | OnBeforeSerialize () |
|
void | GetObjectData (SerializationInfo info, StreamingContext context) |
|
void | OnDeserialization (object sender) |
|
void | Add (TKey key, TValue value) |
|
bool | ContainsKey (TKey key) |
|
bool | Remove (TKey key) |
|
bool | TryGetValue (TKey key, out TValue value) |
|
void | Add (KeyValuePair< TKey, TValue > item) |
|
void | Clear () |
|
bool | Contains (KeyValuePair< TKey, TValue > item) |
|
bool | Remove (KeyValuePair< TKey, TValue > item) |
|
IEnumerator< KeyValuePair< TKey, TValue > > | GetEnumerator () |
|
|
void IDictionary. | Add (object key, object value) |
|
bool IDictionary. | Contains (object key) |
|
void IDictionary. | Remove (object key) |
|
IDictionaryEnumerator IDictionary. | GetEnumerator () |
|
void ICollection. | CopyTo (Array array, int index) |
|
void ICollection< KeyValuePair< TKey, TValue > >. | CopyTo (KeyValuePair< TKey, TValue >[] array, int arrayIndex) |
|
IEnumerator IEnumerable. | GetEnumerator () |
|
|
List< TKey > | keys = new List<TKey>() |
|
List< TValue > | values = new List<TValue>() |
|
Dictionary< TKey, TValue > | dictionary |
|
Definition at line 12 of file UDictionary.cs.
◆ UDictionary() [1/6]
◆ UDictionary() [2/6]
◆ UDictionary() [3/6]
◆ UDictionary() [4/6]
◆ UDictionary() [5/6]
UDictionary< TKey, TValue >.UDictionary |
( |
IDictionary< TKey, TValue > |
dictionary, |
|
|
IEqualityComparer< TKey > |
comparer |
|
) |
| |
|
inline |
◆ UDictionary() [6/6]
◆ Add() [1/3]
void UDictionary< TKey, TValue >.Add |
( |
KeyValuePair< TKey, TValue > |
item | ) |
|
|
inline |
◆ Add() [2/3]
void IDictionary. UDictionary< TKey, TValue >.Add |
( |
object |
key, |
|
|
object |
value |
|
) |
| |
|
inlineprivate |
◆ Add() [3/3]
void UDictionary< TKey, TValue >.Add |
( |
TKey |
key, |
|
|
TValue |
value |
|
) |
| |
|
inline |
◆ Clear()
◆ Contains() [1/2]
bool UDictionary< TKey, TValue >.Contains |
( |
KeyValuePair< TKey, TValue > |
item | ) |
|
|
inline |
◆ Contains() [2/2]
bool IDictionary. UDictionary< TKey, TValue >.Contains |
( |
object |
key | ) |
|
|
inlineprivate |
◆ ContainsKey()
bool UDictionary< TKey, TValue >.ContainsKey |
( |
TKey |
key | ) |
|
|
inline |
◆ CopyTo() [1/2]
void ICollection. UDictionary< TKey, TValue >.CopyTo |
( |
Array |
array, |
|
|
int |
index |
|
) |
| |
|
inlineprivate |
◆ CopyTo() [2/2]
void ICollection< KeyValuePair< TKey, TValue > >. UDictionary< TKey, TValue >.CopyTo |
( |
KeyValuePair< TKey, TValue >[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
|
inlineprivate |
◆ GetEnumerator() [1/3]
IDictionaryEnumerator IDictionary. UDictionary< TKey, TValue >.GetEnumerator |
( |
| ) |
|
|
inlineprivate |
◆ GetEnumerator() [2/3]
IEnumerator< KeyValuePair< TKey, TValue > > UDictionary< TKey, TValue >.GetEnumerator |
( |
| ) |
|
|
inline |
◆ GetEnumerator() [3/3]
IEnumerator IEnumerable. UDictionary< TKey, TValue >.GetEnumerator |
( |
| ) |
|
|
inlineprivate |
◆ GetObjectData()
void UDictionary< TKey, TValue >.GetObjectData |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
context |
|
) |
| |
|
inline |
◆ OnAfterDeserialize()
void UDictionary< TKey, TValue >.OnAfterDeserialize |
( |
| ) |
|
|
inline |
◆ OnBeforeSerialize()
◆ OnDeserialization()
void UDictionary< TKey, TValue >.OnDeserialization |
( |
object |
sender | ) |
|
|
inline |
◆ Remove() [1/3]
bool UDictionary< TKey, TValue >.Remove |
( |
KeyValuePair< TKey, TValue > |
item | ) |
|
|
inline |
◆ Remove() [2/3]
void IDictionary. UDictionary< TKey, TValue >.Remove |
( |
object |
key | ) |
|
|
inlineprivate |
◆ Remove() [3/3]
◆ TryGetValue()
bool UDictionary< TKey, TValue >.TryGetValue |
( |
TKey |
key, |
|
|
out TValue |
value |
|
) |
| |
|
inline |
Definition at line 178 of file UDictionary.cs.
179 {
180 return dictionary.TryGetValue(key, out value);
181 }
References UDictionary< TKey, TValue >.dictionary.
Referenced by Card.DamageHP(), SourceMaterial.Row.Init(), UIInventory.OnInit(), TraitPaintBoard.OnRenderExtra(), TraitShrine.OnRenderExtra(), ActRanged.Perform(), AttackProcess.PlayRangedAnime(), ActEffect.ProcAt(), CardActor.SetOwner(), and CoreDebug.MatColorTest.Update().
◆ dictionary
Dictionary<TKey, TValue> UDictionary< TKey, TValue >.dictionary |
|
private |
Definition at line 21 of file UDictionary.cs.
Referenced by UDictionary< TKey, TValue >.Add(), UDictionary< TKey, TValue >.Clear(), UDictionary< TKey, TValue >.Contains(), UDictionary< TKey, TValue >.ContainsKey(), UDictionary< TKey, TValue >.GetEnumerator(), UDictionary< TKey, TValue >.GetObjectData(), UDictionary< TKey, TValue >.OnAfterDeserialize(), UDictionary< TKey, TValue >.OnBeforeSerialize(), UDictionary< TKey, TValue >.OnDeserialization(), UDictionary< TKey, TValue >.Remove(), UDictionary< TKey, TValue >.TryGetValue(), and UDictionary< TKey, TValue >.UDictionary().
◆ keys
List<TKey> UDictionary< TKey, TValue >.keys = new List<TKey>() |
|
private |
◆ values
List<TValue> UDictionary< TKey, TValue >.values = new List<TValue>() |
|
private |
◆ Count
◆ IsFixedSize
◆ IsReadOnly
◆ IsSynchronized
◆ Keys [1/2]
◆ Keys [2/2]
ICollection IDictionary. UDictionary< TKey, TValue >.Keys |
|
getprivate |
◆ SyncRoot
◆ this[object key]
object IDictionary. UDictionary< TKey, TValue >.this[object key] |
|
getsetprivate |
Definition at line 45 of file UDictionary.cs.
46 {
47 get
48 {
49 if (!(key is TKey))
50 {
51 return null;
52 }
54 }
55 set
56 {
57 if (key is TKey && (value is TValue || value == null))
58 {
60 }
61 }
62 }
◆ this[TKey key]
Definition at line 33 of file UDictionary.cs.
34 {
35 get
36 {
38 }
39 set
40 {
42 }
43 }
◆ Values [1/2]
◆ Values [2/2]
ICollection IDictionary. UDictionary< TKey, TValue >.Values |
|
getprivate |
The documentation for this class was generated from the following file: