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

◆ BuyHairWindow()

static void Terraria.Main.BuyHairWindow ( )
inlinestatic

Definition at line 56455 of file Main.cs.

56456 {
56458 hairWindow = false;
56459 player[myPlayer].SetTalkNPC(-1);
56461 NetMessage.SendData(4, -1, -1, null, myPlayer);
56462 }
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 int npcChatCornerItem
Definition Main.cs:1994
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 Player[] player
Definition Main.cs:1960
static bool hairWindow
Definition Main.cs:728

References Terraria.Main.hairWindow, Terraria.Main.myPlayer, Terraria.Main.npcChatCornerItem, Terraria.Main.player, Terraria.Audio.SoundEngine.PlaySound(), and Terraria.NetMessage.SendData().

Referenced by Terraria.Main.DrawHairWindow().

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