Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ModelEffectCollection.cs
Go to the documentation of this file.
1using System;
5
7
8public sealed class ModelEffectCollection : ReadOnlyCollection<Effect>
9{
11 {
13
15
16 object IEnumerator.Current => Current;
17
22
23 public bool MoveNext()
24 {
25 return internalEnumerator.MoveNext();
26 }
27
34
35 public void Dispose()
36 {
37 internalEnumerator.Dispose();
38 }
39 }
40
42
45 {
47 }
48
49 internal void Add(Effect effect)
50 {
51 base.Items.Add(effect);
52 }
53
54 internal void Remove(Effect effect)
55 {
56 base.Items.Remove(effect);
57 }
58
60 {
61 return new Enumerator(wrappedList);
62 }
63}
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)