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

◆ GetValue() [3/8]

object? System.Array.GetValue ( int index1,
int index2,
int index3 )
inline

Definition at line 1012 of file Array.cs.

1013 {
1014 if (Rank != 3)
1015 {
1016 ThrowHelper.ThrowArgumentException(ExceptionResource.Arg_Need3DArray);
1017 }
1020 }
object InternalGetValue(nint flattenedIndex)
unsafe nint GetFlattenedIndex(ReadOnlySpan< int > indices)
Definition Array.cs:807

References System.Array.GetFlattenedIndex(), System.index1, System.index2, System.index3, System.Array.InternalGetValue(), System.Array.Rank, and System.ThrowHelper.ThrowArgumentException().