TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ DisplayColorTexture()

override Color Terraria.ModLoader.VanillaBuilderToggle.DisplayColorTexture ( )
inlinevirtual

This is the overlay color that is drawn on top of the texture.

Default value is P:Microsoft.Xna.Framework.Color.White

Reimplemented from Terraria.ModLoader.BuilderToggle.

Reimplemented in Terraria.ModLoader.WireVisibilityBuilderToggle.

Definition at line 17 of file VanillaBuilderToggle.cs.

18 {
19 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
20 //IL_000e: Unknown result type (might be due to invalid IL or missing references)
21 if (base.CurrentState != 0)
22 {
23 return new Color(127, 127, 127);
24 }
25 return Color.White;
26 }