terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
MultipleDisplayUtilities.cs
Go to the documentation of this file.
1using System;
3
4namespace UnityEngine.UI
5{
6 // Token: 0x02000059 RID: 89
7 internal static class MultipleDisplayUtilities
8 {
9 // Token: 0x0600035E RID: 862 RVA: 0x0000B130 File Offset: 0x00009330
10 public static bool GetRelativeMousePositionForDrag(PointerEventData eventData, Vector2 position)
11 {
12 return true;
13 }
14
15 // Token: 0x0600035F RID: 863 RVA: 0x0000B140 File Offset: 0x00009340
16 public static Vector3 RelativeMouseAtScaled(Vector2 position)
17 {
18 int num = 1;
19 if (num == 0)
20 {
21 }
22 int renderingWidth = Display.main.renderingWidth;
23 int systemWidth = Display.main.systemWidth;
24 if (num == 0)
25 {
26 }
27 int renderingHeight = Display.main.renderingHeight;
28 int systemHeight = Display.main.systemHeight;
29 if (num == 0)
30 {
31 }
32 if (num == 0)
33 {
34 }
39 bool fullScreen = Screen.fullScreen;
40 int width = Screen.width;
41 int height = Screen.height;
48 if (systemWidth3 == 0)
49 {
50 }
53 if (systemWidth3 == 0)
54 {
55 }
60 if (systemWidth3 == 0)
61 {
62 return;
63 }
64 }
65 }
66}
class f__AnonymousType0<< Count > j__TPar
static Display main
Definition Display.cs:95
static bool fullScreen
Definition Screen.cs:61
static int height
Definition Screen.cs:28
static int width
Definition Screen.cs:17
static bool GetRelativeMousePositionForDrag(PointerEventData eventData, Vector2 position)
static Vector3 RelativeMouseAtScaled(Vector2 position)