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.
1
using
System
;
2
using
UnityEngine.EventSystems
;
3
4
namespace
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
}
35
int
systemWidth2
=
Display
.
main
.
systemWidth
;
36
int
systemHeight2
=
Display
.
main
.
systemHeight
;
37
int
renderingWidth2
=
Display
.
main
.
renderingWidth
;
38
int
renderingHeight2
=
Display
.
main
.
renderingHeight
;
39
bool
fullScreen =
Screen
.
fullScreen
;
40
int
width =
Screen
.
width
;
41
int
height =
Screen
.
height
;
42
int
systemHeight3
=
Display
.
main
.
systemHeight
;
43
int
systemWidth3
=
Display
.
main
.
systemWidth
;
44
int
renderingHeight3
=
Display
.
main
.
renderingHeight
;
45
int
renderingWidth3
=
Display
.
main
.
renderingWidth
;
46
int
renderingHeight4
=
Display
.
main
.
renderingHeight
;
47
bool
fullScreen2
=
Screen
.
fullScreen
;
48
if
(
systemWidth3
== 0)
49
{
50
}
51
int
systemWidth4
=
Display
.
main
.
systemWidth
;
52
int
systemHeight4
=
Display
.
main
.
systemHeight
;
53
if
(
systemWidth3
== 0)
54
{
55
}
56
int
renderingWidth4
=
Display
.
main
.
renderingWidth
;
57
int
systemWidth5
=
Display
.
main
.
systemWidth
;
58
int
renderingHeight5
=
Display
.
main
.
renderingHeight
;
59
int
systemHeight5
=
Display
.
main
.
systemHeight
;
60
if
(
systemWidth3
== 0)
61
{
62
return
;
63
}
64
}
65
}
66
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
UnityEngine.Display.systemWidth
int systemWidth
Definition
Display.cs:59
UnityEngine.Display.renderingWidth
int renderingWidth
Definition
Display.cs:29
UnityEngine.Display.renderingHeight
int renderingHeight
Definition
Display.cs:44
UnityEngine.Display.systemHeight
int systemHeight
Definition
Display.cs:74
UnityEngine.Display.main
static Display main
Definition
Display.cs:95
UnityEngine.Display
Definition
Display.cs:14
UnityEngine.EventSystems.PointerEventData
Definition
PointerEventData.cs:9
UnityEngine.Screen.fullScreen
static bool fullScreen
Definition
Screen.cs:61
UnityEngine.Screen.height
static int height
Definition
Screen.cs:28
UnityEngine.Screen.width
static int width
Definition
Screen.cs:17
UnityEngine.Screen
Definition
Screen.cs:13
UnityEngine.UI.MultipleDisplayUtilities.GetRelativeMousePositionForDrag
static bool GetRelativeMousePositionForDrag(PointerEventData eventData, Vector2 position)
Definition
MultipleDisplayUtilities.cs:10
UnityEngine.UI.MultipleDisplayUtilities.RelativeMouseAtScaled
static Vector3 RelativeMouseAtScaled(Vector2 position)
Definition
MultipleDisplayUtilities.cs:16
UnityEngine.UI.MultipleDisplayUtilities
Definition
MultipleDisplayUtilities.cs:8
System
Definition
__ComObject.cs:4
UnityEngine.EventSystems
Definition
AbstractEventData.cs:4
UnityEngine.UI
Definition
AnimationTriggers.cs:5
UnityEngine.Vector2
Definition
Vector2.cs:14
UnityEngine.Vector3
Definition
Vector3.cs:18
source
UnityEngine.UI
UnityEngine
UI
MultipleDisplayUtilities.cs
Generated by
1.10.0