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

◆ OpenHairWindow()

static void Terraria.Main.OpenHairWindow ( )
inlinestatic

Definition at line 56423 of file Main.cs.

56424 {
56425 //IL_004e: Unknown result type (might be due to invalid IL or missing references)
56426 //IL_0053: Unknown result type (might be due to invalid IL or missing references)
56427 hBar = -1f;
56428 lBar = -1f;
56429 sBar = -1f;
56430 playerInventory = false;
56431 npcChatText = "";
56433 oldHairColor = player[myPlayer].hairColor;
56434 hairWindow = true;
56436 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
static float lBar
Definition Main.cs:2598
static Color oldHairColor
Definition Main.cs:2546
static float sBar
Definition Main.cs:2596
static string npcChatText
Definition Main.cs:1982
static int myPlayer
The index in F:Terraria.Main.player of this client's Player. If this is 255, this client is the ser...
Definition Main.cs:1958
static float hBar
Definition Main.cs:2594
static bool playerInventory
Definition Main.cs:1912
static int oldHairStyle
Definition Main.cs:2544
static Player[] player
Definition Main.cs:1960
static bool hairWindow
Definition Main.cs:728

References Terraria.Main.hairWindow, Terraria.Main.hBar, Terraria.Main.lBar, Terraria.Main.myPlayer, Terraria.Main.npcChatText, Terraria.Main.oldHairColor, Terraria.Main.oldHairStyle, Terraria.Main.player, Terraria.Main.playerInventory, Terraria.Audio.SoundEngine.PlaySound(), and Terraria.Main.sBar.

Referenced by Terraria.Main.GUIChatDrawInner().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: