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
ScreenPostProcessor.cs
Go to the documentation of this file.
1using System;
5using Terraria;
7using UnityEngine;
8
9// Token: 0x02000305 RID: 773
11{
12 // Token: 0x170001A4 RID: 420
13 // (get) Token: 0x060011EB RID: 4587 RVA: 0x000021DB File Offset: 0x000003DB
14 // (set) Token: 0x060011EC RID: 4588 RVA: 0x000578A4 File Offset: 0x00055AA4
15 public static bool Enabled
16 {
17 get
18 {
19 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
20 }
21 set
22 {
23 }
24 }
25
26 // Token: 0x170001A5 RID: 421
27 // (get) Token: 0x060011ED RID: 4589 RVA: 0x000021DB File Offset: 0x000003DB
29 {
30 get
31 {
32 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
33 }
34 }
35
36 // Token: 0x170001A6 RID: 422
37 // (get) Token: 0x060011EE RID: 4590 RVA: 0x000021DB File Offset: 0x000003DB
39 {
40 get
41 {
42 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
43 }
44 }
45
46 // Token: 0x170001A7 RID: 423
47 // (get) Token: 0x060011EF RID: 4591 RVA: 0x000021DB File Offset: 0x000003DB
48 // (set) Token: 0x060011F0 RID: 4592 RVA: 0x000578B4 File Offset: 0x00055AB4
49 public static List<Filter> Filters
50 {
51 get
52 {
53 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
54 }
55 set
56 {
57 }
58 }
59
60 // Token: 0x060011F1 RID: 4593 RVA: 0x000021DB File Offset: 0x000003DB
61 public static void BeginUpdate()
62 {
63 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
64 }
65
66 // Token: 0x060011F2 RID: 4594 RVA: 0x000021DB File Offset: 0x000003DB
67 public static void AddFilter(Filter filter)
68 {
69 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
70 }
71
72 // Token: 0x060011F3 RID: 4595 RVA: 0x000578C4 File Offset: 0x00055AC4
73 public static void EndUpdate()
74 {
75 int num = 1;
76 if (num == 0)
77 {
78 }
80 if (num == 0)
81 {
82 }
83 bool gameMenu = Main.gameMenu;
85 }
86
87 // Token: 0x170001A8 RID: 424
88 // (get) Token: 0x060011F4 RID: 4596 RVA: 0x000021DB File Offset: 0x000003DB
89 // (set) Token: 0x060011F5 RID: 4597 RVA: 0x0005795C File Offset: 0x00055B5C
90 private static int countUpdate
91 {
92 get
93 {
94 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
95 }
96 set
97 {
98 }
99 }
100
101 // Token: 0x170001A9 RID: 425
102 // (get) Token: 0x060011F6 RID: 4598 RVA: 0x000021DB File Offset: 0x000003DB
103 // (set) Token: 0x060011F7 RID: 4599 RVA: 0x0005796C File Offset: 0x00055B6C
104 private static int renderCheck
105 {
106 get
107 {
108 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
109 }
110 set
111 {
112 }
113 }
114
115 // Token: 0x060011F8 RID: 4600 RVA: 0x0005797C File Offset: 0x00055B7C
117 {
118 LocalUser user = this.User;
119 if (user != null)
120 {
121 user.LoadThreadstate();
122 LocalUser user2 = this.User;
123 if (user2 != null)
124 {
126 if (gameState != null)
127 {
129 int size = ScreenPostProcessor.Filters._size;
135 if (gameState2 == null)
136 {
137 }
138 GraphicsDevice graphicsDevice;
139 object <Tag>k__BackingField = graphicsDevice.Textures.<Tag>k__BackingField;
144 if (<Tag>k__BackingField != null)
145 {
146 return;
147 }
148 if (1073741824 == 0)
149 {
150 }
151 if (format != SurfaceFormat.Color)
152 {
153 return;
154 }
155 if (1073741824 == 0)
156 {
157 }
158 if (sortingKey != 0)
159 {
160 return;
161 }
162 if (1073741824 == 0)
163 {
164 }
165 if (<Tag>k__BackingField != null)
166 {
167 return;
168 }
169 if (1073741824 == 0)
170 {
171 }
172 return;
173 }
174 }
175 }
176 }
177
178 // Token: 0x060011F9 RID: 4601 RVA: 0x00057A60 File Offset: 0x00055C60
180 {
181 }
182
183 // Token: 0x060011FA RID: 4602 RVA: 0x00057A74 File Offset: 0x00055C74
184 // Note: this type is marked as 'beforefieldinit'.
186 {
187 int num = Shader.PropertyToID("_MainTex");
188 int num2 = Shader.PropertyToID("_SecondaryTex");
189 int num3 = Shader.PropertyToID("_ThirdTex");
190 int num4 = Shader.PropertyToID("_ForthTex");
191 int num5 = Shader.PropertyToID("_ImageSize1");
192 }
193
194 // Token: 0x04002170 RID: 8560
195 private int order;
196
197 // Token: 0x04002171 RID: 8561
198 private Filter filter;
199
200 // Token: 0x04002172 RID: 8562
201 private bool setActive;
202
203 // Token: 0x04002173 RID: 8563
205
206 // Token: 0x04002174 RID: 8564
207 private static int MainTexId;
208
209 // Token: 0x04002175 RID: 8565
210 private static int SecTexId;
211
212 // Token: 0x04002176 RID: 8566
213 private static int ThirdTexId;
214
215 // Token: 0x04002177 RID: 8567
216 private static int ForthTexId;
217
218 // Token: 0x04002178 RID: 8568
219 private static int _imageSize1Id;
220}
class f__AnonymousType0<< Count > j__TPar
List< Filter > ScreenPostProcessor_Filters
void LoadThreadstate()
Definition LocalUser.cs:40
LocalUserGameState GameState
Definition LocalUser.cs:232
static List< Filter > Filters
static void AddFilter(Filter filter)
static List< ScreenPostProcessor > UIInstances
static List< ScreenPostProcessor > Instances
void OnRenderImage(RenderTexture source, RenderTexture dest)
static bool gameMenu
Definition Main.cs:2673
static int PropertyToID(string name)
Definition Shader.cs:50