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
LightDiscDrawer.cs
Go to the documentation of this file.
1using System;
6
7namespace Terraria.Graphics
8{
9 // Token: 0x0200073D RID: 1853
10 public struct LightDiscDrawer
11 {
12 // Token: 0x06003D2A RID: 15658 RVA: 0x00238890 File Offset: 0x00236A90
13 public void Draw(Projectile proj)
14 {
15 if (!true)
16 {
17 }
18 Vector2[] oldPos = proj.oldPos;
19 float[] oldRot = proj.oldRot;
20 Vector2 screenPosition = Main.screenPosition;
21 Vector2 size = proj.Size;
22 EffectTechnique <CurrentTechnique>k__BackingField = Main.pixelShader.<CurrentTechnique>k__BackingField;
23 long num = 0L;
24 EffectPass effectPass = <CurrentTechnique>k__BackingField.<Passes>k__BackingField[(int)num];
25 }
26
27 // Token: 0x06003D2B RID: 15659 RVA: 0x002388EC File Offset: 0x00236AEC
28 private void StripColors(float progressOnStrip, [Out] Color col)
29 {
30 if (!true)
31 {
32 }
35 col.A = color;
36 }
37
38 // Token: 0x06003D2C RID: 15660 RVA: 0x000021DB File Offset: 0x000003DB
39 private float StripWidth(float progressOnStrip)
40 {
41 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
42 }
43
44 // Token: 0x06003D2D RID: 15661 RVA: 0x0023890C File Offset: 0x00236B0C
45 // Note: this type is marked as 'beforefieldinit'.
47 {
48 }
49
50 // Token: 0x04007C1B RID: 31771
51 private static VertexStrip _vertexStrip;
52 }
53}
class f__AnonymousType0<< Count > j__TPar
static Effect pixelShader
Definition Main.cs:4317
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
float StripWidth(float progressOnStrip)
void StripColors(float progressOnStrip, [Out] Color col)