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

◆ CreatePositionList()

static Point[] ReLogic.Peripherals.RGB.Razer.RazerMousepad.CreatePositionList ( )
inlinestaticprivate

Definition at line 16 of file RazerMousepad.cs.

17 {
18 //IL_0018: Unknown result type (might be due to invalid IL or missing references)
19 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
20 //IL_0026: Unknown result type (might be due to invalid IL or missing references)
21 //IL_002b: Unknown result type (might be due to invalid IL or missing references)
22 //IL_0035: Unknown result type (might be due to invalid IL or missing references)
23 //IL_003d: Unknown result type (might be due to invalid IL or missing references)
24 //IL_0045: Unknown result type (might be due to invalid IL or missing references)
25 //IL_004a: Unknown result type (might be due to invalid IL or missing references)
26 //IL_0060: Unknown result type (might be due to invalid IL or missing references)
27 //IL_0069: Unknown result type (might be due to invalid IL or missing references)
28 //IL_0071: Unknown result type (might be due to invalid IL or missing references)
29 //IL_0076: Unknown result type (might be due to invalid IL or missing references)
30 Point[] array = (Point[])(object)new Point[15];
31 Point point = default(Point);
32 ((Point)(ref point))._002Ector(26, 0);
33 for (int i = 0; i < 5; i++)
34 {
35 array[i] = new Point(point.X, point.Y + i);
36 array[14 - i] = new Point(point.X + 6, point.Y + i);
37 }
38 for (int j = 5; j < 10; j++)
39 {
40 array[j] = new Point(j - 5 + point.X + 1, point.Y + 5);
41 }
42 return array;
43 }

References Microsoft.Xna.Framework.Point.X, and Microsoft.Xna.Framework.Point.Y.