TModLoader
v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
◆
buffColor()
static Color Terraria.NPC.buffColor
(
Color
newColor
,
float
R
,
float
G
,
float
B
,
float
A
)
inline
static
Definition at line
107871
of file
NPC.cs
.
107872
{
107873
//IL_0049: Unknown result type (might be due to invalid IL or missing references)
107874
((Color)(
ref
newColor
)).R = (
byte
)((float)(
int
)((Color)(
ref
newColor
)).R * R);
107875
((Color)(
ref
newColor
)).G = (
byte
)((float)(
int
)((Color)(
ref
newColor
)).G * G);
107876
((Color)(
ref
newColor
)).B = (
byte
)((float)(
int
)((Color)(
ref
newColor
)).B * B);
107877
((Color)(
ref
newColor
)).A = (
byte
)((float)(
int
)((Color)(
ref
newColor
)).A * A);
107878
return
newColor
;
107879
}
List
Terraria
NPC
Generated by
1.10.0