Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Contains() [2/2]

bool System.ComponentModel.AttributeCollection.Contains ( Attribute?[] attributes)
inline

Definition at line 178 of file AttributeCollection.cs.

179 {
180 if (attributes == null)
181 {
182 return true;
183 }
184 for (int i = 0; i < attributes.Length; i++)
185 {
186 if (!Contains(attributes[i]))
187 {
188 return false;
189 }
190 }
191 return true;
192 }

References System.ComponentModel.AttributeCollection.Contains().