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

◆ ResetText()

static void Terraria.PopupText.ResetText ( PopupText text)
inlinestatic

Resets a T:Terraria.PopupText to its default values.

Parameters
textThe T:Terraria.PopupText to reset.

Definition at line 176 of file PopupText.cs.

177 {
178 text.NoStack = false;
179 text.coinText = false;
180 text.coinValue = 0L;
181 text.sonar = false;
182 text.npcNetID = 0;
183 text.expert = false;
184 text.master = false;
185 text.freeAdvanced = false;
186 text.scale = 0f;
187 text.rotation = 0f;
188 text.alpha = 1f;
189 text.alphaDir = -1;
190 text.rarity = 0;
191 }

Referenced by Terraria.PopupText.NewText(), Terraria.PopupText.NewText(), and Terraria.PopupText.NewText().

+ Here is the caller graph for this function: