Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DesignerVerbCollection.cs
Go to the documentation of this file.
2
4
6{
7 public DesignerVerb? this[int index]
8 {
9 get
10 {
11 return (DesignerVerb)base.List[index];
12 }
13 set
14 {
15 base.List[index] = value;
16 }
17 }
18
20 {
21 }
22
27
28 public int Add(DesignerVerb? value)
29 {
30 return base.List.Add(value);
31 }
32
33 public void AddRange(DesignerVerb?[] value)
34 {
35 if (value == null)
36 {
37 throw new ArgumentNullException("value");
38 }
39 for (int i = 0; i < value.Length; i++)
40 {
41 Add(value[i]);
42 }
43 }
44
46 {
47 if (value == null)
48 {
49 throw new ArgumentNullException("value");
50 }
51 int count = value.Count;
52 for (int i = 0; i < count; i++)
53 {
54 Add(value[i]);
55 }
56 }
57
58 public void Insert(int index, DesignerVerb? value)
59 {
60 base.List.Insert(index, value);
61 }
62
64 {
65 return base.List.IndexOf(value);
66 }
67
69 {
70 return base.List.Contains(value);
71 }
72
74 {
75 base.List.Remove(value);
76 }
77
78 public void CopyTo(DesignerVerb?[] array, int index)
79 {
80 base.List.CopyTo(array, index);
81 }
82
83 protected override void OnValidate(object value)
84 {
85 }
86}