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
AndroidImmersive.cs
Go to the documentation of this file.
1using System;
3using UnityEngine;
4
5// Token: 0x02000039 RID: 57
6public static class AndroidImmersive
7{
8 // Token: 0x06000141 RID: 321 RVA: 0x00004150 File Offset: 0x00002350
9 public static void Activate()
10 {
13 Debug.Log("AndroidImmersive: SDK level < 19 so skipping immersive mode");
14 }
15
16 // Token: 0x06000142 RID: 322 RVA: 0x000041A8 File Offset: 0x000023A8
17 public static void Deactivate(bool blockReactivation)
18 {
19 }
20
21 // Token: 0x06000143 RID: 323 RVA: 0x000041D4 File Offset: 0x000023D4
22 private static void RunActivate()
23 {
24 }
25
26 // Token: 0x06000144 RID: 324 RVA: 0x00004208 File Offset: 0x00002408
27 private static void RunDeactivate()
28 {
29 if ("setOnSystemUiVisibilityChangeListener" != null)
30 {
31 Debug.Log("AndroidImmersive: Listener cleared.");
32 }
33 }
34
35 // Token: 0x06000145 RID: 325 RVA: 0x00004248 File Offset: 0x00002448
36 private static int GetSDKLevel()
37 {
38 IntPtr intPtr = AndroidJNI.FindClass("android/os/Build$VERSION");
41 string text2 = "AndroidImmersive: SDK level = " + text;
42 Debug.Log(text2);
43 Debug.Log("AndroidImmersive: Can't retrieve SDK level");
44 return "AndroidImmersive: Can't retrieve SDK level";
45 }
46
47 // Token: 0x040000D0 RID: 208
49
50 // Token: 0x040000D1 RID: 209
52
53 // Token: 0x040000D2 RID: 210
54 private static bool _blockReactivation;
55
56 // Token: 0x040000D3 RID: 211
57 private const int SYSTEM_UI_FLAG_HIDE_NAVIGATION = 2;
58
59 // Token: 0x040000D4 RID: 212
60 private const int SYSTEM_UI_FLAG_FULLSCREEN = 4;
61
62 // Token: 0x040000D5 RID: 213
63 private const int SYSTEM_UI_FLAG_LAYOUT_STABLE = 256;
64
65 // Token: 0x040000D6 RID: 214
67
68 // Token: 0x040000D7 RID: 215
69 private const int SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN = 1024;
70
71 // Token: 0x040000D8 RID: 216
72 private const int SYSTEM_UI_FLAG_IMMERSIVE = 2048;
73
74 // Token: 0x040000D9 RID: 217
75 private const int SYSTEM_UI_FLAG_IMMERSIVE_STICKY = 4096;
76
77 // Token: 0x0200003A RID: 58
78 private sealed class RunPtr : MulticastDelegate
79 {
80 // Token: 0x06000146 RID: 326 RVA: 0x000042A8 File Offset: 0x000024A8
81 public RunPtr(object @object, IntPtr method)
82 {
84 this.m_target = @object;
86 this.method_code = this;
87 }
88
89 // Token: 0x06000147 RID: 327 RVA: 0x000042FC File Offset: 0x000024FC
90 public void Invoke()
91 {
94 IntPtr method = this.method;
95 }
96
97 // Token: 0x06000148 RID: 328 RVA: 0x000021DB File Offset: 0x000003DB
98 public IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
99 {
100 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
101 }
102
103 // Token: 0x06000149 RID: 329 RVA: 0x00004320 File Offset: 0x00002520
104 public void EndInvoke(IAsyncResult result)
105 {
106 }
107 }
108
109 // Token: 0x0200003B RID: 59
111 {
112 // Token: 0x0600014A RID: 330 RVA: 0x00004330 File Offset: 0x00002530
113 public Listener()
114 {
115 if (!true)
116 {
117 }
118 base..ctor("android.view.View$OnSystemUiVisibilityChangeListener");
119 }
120
121 // Token: 0x0600014B RID: 331 RVA: 0x0000434C File Offset: 0x0000254C
123 {
124 string text;
125 Debug.Log("AndroidImmersive: SystemUiVisibilityChange = " + text);
127 }
128 }
129}
class f__AnonymousType0<< Count > j__TPar
void onSystemUiVisibilityChange(int visibility)
RunPtr(object @object, IntPtr method)
IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
void EndInvoke(IAsyncResult result)
static void Activate()
static int GetSDKLevel()
static AndroidJavaObject _viewInstance
const int SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
const int SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
static AndroidJavaObject _viewInstanceBackup
static void Deactivate(bool blockReactivation)
const int SYSTEM_UI_FLAG_LAYOUT_STABLE
static void RunActivate()
const int SYSTEM_UI_FLAG_IMMERSIVE
const int SYSTEM_UI_FLAG_FULLSCREEN
static void RunDeactivate()
const int SYSTEM_UI_FLAG_IMMERSIVE_STICKY
static bool _blockReactivation
const int SYSTEM_UI_FLAG_HIDE_NAVIGATION
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371
static IntPtr GetStaticFieldID(IntPtr clazz, string name, string sig)
static int GetStaticIntField(IntPtr clazz, IntPtr fieldID)
static IntPtr FindClass(string name)
Definition AndroidJNI.cs:35
static RuntimePlatform platform
static void Log(object message)
Definition Debug.cs:51