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

◆ deepCompare()

static bool Terraria.Utils.deepCompare ( this int[] firstArray,
int[] secondArray )
inlinestatic

Definition at line 1478 of file Utils.cs.

1479 {
1480 if (firstArray == null && secondArray == null)
1481 {
1482 return true;
1483 }
1484 if (firstArray != null && secondArray != null)
1485 {
1486 if (firstArray.Length != secondArray.Length)
1487 {
1488 return false;
1489 }
1490 for (int i = 0; i < firstArray.Length; i++)
1491 {
1492 if (firstArray[i] != secondArray[i])
1493 {
1494 return false;
1495 }
1496 }
1497 return true;
1498 }
1499 return false;
1500 }

References System.Text.RegularExpressions.i.