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
EmpressBladeDrawer.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Cpp2IlInjected
;
4
using
Microsoft.Xna.Framework
;
5
using
Microsoft.Xna.Framework.Graphics
;
6
7
namespace
Terraria.Graphics
8
{
9
// Token: 0x0200073B RID: 1851
10
public
struct
EmpressBladeDrawer
11
{
12
// Token: 0x06003D22 RID: 15650 RVA: 0x00238738 File Offset: 0x00236938
13
public
void
Draw
(
Projectile
proj
)
14
{
15
if
(!
true
)
16
{
17
}
18
if
(!
true
)
19
{
20
}
21
Vector2
[] oldPos =
proj
.oldPos;
22
float
[] oldRot =
proj
.oldRot;
23
Vector2
screenPosition =
Main
.
screenPosition
;
24
Vector2
size =
proj
.Size;
25
Vector2
[]
oldPos2
=
proj
.oldPos;
26
EffectTechnique <CurrentTechnique>k__BackingField =
Main
.
pixelShader
.<CurrentTechnique>k__BackingField;
27
long
num = 0
L
;
28
EffectPass
effectPass
= <CurrentTechnique>k__BackingField.<Passes>k__BackingField[(int)num];
29
}
30
31
// Token: 0x06003D23 RID: 15651 RVA: 0x002387A8 File Offset: 0x002369A8
32
private
void
StripColors
(
float
progressOnStrip
, [Out]
Color
col
)
33
{
34
Color
colorStart
= this.
ColorStart
;
35
if
(!
true
)
36
{
37
}
38
Color
color;
39
col.A
= color;
40
}
41
42
// Token: 0x06003D24 RID: 15652 RVA: 0x000021DB File Offset: 0x000003DB
43
private
float
StripWidth
(
float
progressOnStrip
)
44
{
45
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
46
}
47
48
// Token: 0x06003D25 RID: 15653 RVA: 0x002387C8 File Offset: 0x002369C8
49
// Note: this type is marked as 'beforefieldinit'.
50
static
EmpressBladeDrawer
()
51
{
52
}
53
54
// Token: 0x04007C15 RID: 31765
55
public
const
int
TotalIllusions
= 1;
56
57
// Token: 0x04007C16 RID: 31766
58
public
const
int
FramesPerImportantTrail
= 60;
59
60
// Token: 0x04007C17 RID: 31767
61
private
static
VertexStrip
_vertexStrip
;
62
63
// Token: 0x04007C18 RID: 31768
64
public
Color
ColorStart
;
65
66
// Token: 0x04007C19 RID: 31769
67
public
Color
ColorEnd
;
68
}
69
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Microsoft.Xna.Framework.Graphics.EffectPass
Definition
EffectPass.cs:10
Terraria.Graphics.VertexStrip
Definition
VertexStrip.cs:13
Terraria.Main.pixelShader
static Effect pixelShader
Definition
Main.cs:4317
Terraria.Main.screenPosition
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition
Main.cs:1973
Terraria.Main
Definition
Main.cs:67
Terraria.Projectile
Definition
Projectile.cs:21
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
Terraria.Graphics
Definition
Camera.cs:6
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
Terraria.Graphics.EmpressBladeDrawer._vertexStrip
static VertexStrip _vertexStrip
Definition
EmpressBladeDrawer.cs:61
Terraria.Graphics.EmpressBladeDrawer.ColorStart
Color ColorStart
Definition
EmpressBladeDrawer.cs:64
Terraria.Graphics.EmpressBladeDrawer.FramesPerImportantTrail
const int FramesPerImportantTrail
Definition
EmpressBladeDrawer.cs:58
Terraria.Graphics.EmpressBladeDrawer.StripWidth
float StripWidth(float progressOnStrip)
Definition
EmpressBladeDrawer.cs:43
Terraria.Graphics.EmpressBladeDrawer.ColorEnd
Color ColorEnd
Definition
EmpressBladeDrawer.cs:67
Terraria.Graphics.EmpressBladeDrawer.TotalIllusions
const int TotalIllusions
Definition
EmpressBladeDrawer.cs:55
Terraria.Graphics.EmpressBladeDrawer.StripColors
void StripColors(float progressOnStrip, [Out] Color col)
Definition
EmpressBladeDrawer.cs:32
Terraria.Graphics.EmpressBladeDrawer.EmpressBladeDrawer
static EmpressBladeDrawer()
Definition
EmpressBladeDrawer.cs:50
Terraria.Graphics.EmpressBladeDrawer.Draw
void Draw(Projectile proj)
Definition
EmpressBladeDrawer.cs:13
Terraria.Graphics.EmpressBladeDrawer
Definition
EmpressBladeDrawer.cs:11
source
Terraria
Graphics
EmpressBladeDrawer.cs
Generated by
1.10.0