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

◆ this[int index]

unsafe byte System.Reflection.ConstArray.this[int index]
get

Definition at line 13 of file ConstArray.cs.

14 {
15 get
16 {
17 if (index < 0 || index >= m_length)
18 {
19 throw new IndexOutOfRangeException();
20 }
21 return ((byte*)m_constArray.ToPointer())[index];
22 }
23 }
unsafe void * ToPointer()
Definition IntPtr.cs:210
readonly IntPtr m_constArray
Definition ConstArray.cs:7