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

◆ CreateAFtoPMConversionMatrix()

static PM[] System.Security.AccessControl.CommonAcl.CreateAFtoPMConversionMatrix ( )
inlinestaticprivateinherited

Definition at line 90 of file CommonAcl.cs.

91 {
92 PM[] array = new PM[16];
93 for (int i = 0; i < array.Length; i++)
94 {
95 array[i] = PM.GO;
96 }
97 array[0] = PM.F;
98 array[4] = PM.F | PM.CO | PM.GO;
99 array[5] = PM.F | PM.CO;
100 array[6] = PM.CO | PM.GO;
101 array[7] = PM.CO;
102 array[8] = PM.F | PM.CF | PM.GF;
103 array[9] = PM.F | PM.CF;
104 array[10] = PM.CF | PM.GF;
105 array[11] = PM.CF;
106 array[12] = PM.F | PM.CF | PM.CO | PM.GF | PM.GO;
107 array[13] = PM.F | PM.CF | PM.CO;
108 array[14] = PM.CF | PM.CO | PM.GF | PM.GO;
109 array[15] = PM.CF | PM.CO;
110 return array;
111 }

References System.array.