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
RainbowRodDrawer.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria.Graphics
7{
8 // Token: 0x0200073F RID: 1855
9 public struct RainbowRodDrawer
10 {
11 // Token: 0x06003D32 RID: 15666 RVA: 0x002389DC File Offset: 0x00236BDC
12 public void Draw(Projectile proj)
13 {
14 if (!true)
15 {
16 }
17 if (!true)
18 {
19 }
20 Vector2[] oldPos = proj.oldPos;
21 float[] oldRot = proj.oldRot;
22 Vector2 screenPosition = Main.screenPosition;
23 Vector2 size = proj.Size;
24 EffectTechnique <CurrentTechnique>k__BackingField = Main.pixelShader.<CurrentTechnique>k__BackingField;
25 long num = 0L;
26 EffectPass effectPass = <CurrentTechnique>k__BackingField.<Passes>k__BackingField[(int)num];
27 }
28
29 // Token: 0x06003D33 RID: 15667 RVA: 0x00238A3C File Offset: 0x00236C3C
30 private void StripColors(float progressOnStrip, [Out] Color col)
31 {
32 if (!true)
33 {
34 }
35 Color color;
36 col.A = color;
37 }
38
39 // Token: 0x06003D34 RID: 15668 RVA: 0x00238A58 File Offset: 0x00236C58
40 private float StripWidth(float progressOnStrip)
41 {
42 if (!true)
43 {
44 return;
45 }
46 }
47
48 // Token: 0x06003D35 RID: 15669 RVA: 0x00238A6C File Offset: 0x00236C6C
49 // Note: this type is marked as 'beforefieldinit'.
51 {
52 }
53
54 // Token: 0x04007C1E RID: 31774
55 private static VertexStrip _vertexStrip;
56 }
57}
class f__AnonymousType0<< Count > j__TPar
static Effect pixelShader
Definition Main.cs:4317
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
void StripColors(float progressOnStrip, [Out] Color col)
float StripWidth(float progressOnStrip)