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
ReflectiveArmorShaderData.cs
Go to the documentation of this file.
1
using
System
;
2
using
Microsoft.Xna.Framework.Graphics
;
3
using
Terraria.DataStructures
;
4
using
Terraria.Graphics.Shaders
;
5
6
namespace
Terraria.GameContent.Dyes
7
{
8
// Token: 0x0200081C RID: 2076
9
public
class
ReflectiveArmorShaderData
:
ArmorShaderData
10
{
11
// Token: 0x060042A9 RID: 17065 RVA: 0x0024BEF4 File Offset: 0x0024A0F4
12
public
ReflectiveArmorShaderData
(
Ref<Effect>
shader,
string
passName
)
13
:
base
(shader,
passName
)
14
{
15
}
16
17
// Token: 0x060042AA RID: 17066 RVA: 0x0024BF0C File Offset: 0x0024A10C
18
public
override
void
Apply
(
Entity
entity,
DrawData
?
drawData
)
19
{
20
if
(entity !=
null
)
21
{
22
return
;
23
}
24
EffectParameter
effectParameter
=
base
.Shader.<Parameters>k__BackingField[
"uLightSource"
];
25
int
num = 1;
26
if
(num == 0)
27
{
28
}
29
int
value
= num.m_value;
30
}
31
}
32
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Microsoft.Xna.Framework.Graphics.EffectParameter
Definition
EffectParameter.cs:11
Terraria.Entity
Definition
Entity.cs:8
Terraria.GameContent.Dyes.ReflectiveArmorShaderData.ReflectiveArmorShaderData
ReflectiveArmorShaderData(Ref< Effect > shader, string passName)
Definition
ReflectiveArmorShaderData.cs:12
Terraria.GameContent.Dyes.ReflectiveArmorShaderData.Apply
override void Apply(Entity entity, DrawData? drawData)
Definition
ReflectiveArmorShaderData.cs:18
Terraria.GameContent.Dyes.ReflectiveArmorShaderData
Definition
ReflectiveArmorShaderData.cs:10
Terraria.Graphics.Shaders.ArmorShaderData
Definition
ArmorShaderData.cs:13
Terraria.Ref
Definition
Ref.cs:7
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
System.ExceptionArgument.value
@ value
System
Definition
__ComObject.cs:4
Terraria.DataStructures
Definition
AEntitySource_OnHit.cs:4
Terraria.GameContent.Dyes
Definition
LegacyHairShaderData.cs:7
Terraria.Graphics.Shaders
Definition
ArmorShaderData.cs:10
Terraria.DataStructures.DrawData
Definition
DrawData.cs:9
source
Terraria
GameContent
Dyes
ReflectiveArmorShaderData.cs
Generated by
1.10.0