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

◆ SetValue() [6/8]

void System.Array.SetValue ( object? value,
long index1,
long index2,
long index3 )
inline

Definition at line 1158 of file Array.cs.

1159 {
1160 int num = (int)index1;
1161 int num2 = (int)index2;
1162 int num3 = (int)index3;
1163 if (index1 != num)
1164 {
1165 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index1, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1166 }
1167 if (index2 != num2)
1168 {
1169 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index2, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1170 }
1171 if (index3 != num3)
1172 {
1173 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.index3, ExceptionResource.ArgumentOutOfRange_HugeArrayNotSupported);
1174 }
1175 SetValue(value, num, num2, num3);
1176 }
unsafe void SetValue(object? value, int index)
Definition Array.cs:1022

References System.index1, System.index2, System.index3, System.Array.SetValue(), System.ThrowHelper.ThrowArgumentOutOfRangeException(), and System.value.