|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Creates a new T:Terraria.PopupText in F:Terraria.Main.popupText at position using the settings from request .
The new T:Terraria.PopupText is not bound to a specific T:Terraria.Item or T:Terraria.ID.NPCID.
All T:Terraria.PopupTexts created using this method have F:Terraria.PopupText.context == F:Terraria.PopupTextContext.Advanced and F:Terraria.PopupText.freeAdvanced set to true.
| request | The settings for the new T:Terraria.PopupText. |
| position | The position of the new T:Terraria.PopupText in world coordinates. |
-1 if a new T:Terraria.PopupText could not be made, if F:Terraria.Main.netMode == F:Terraria.ID.NetmodeID.Server, or if the current player has item text disabled (F:Terraria.Main.showItemText). Definition at line 204 of file PopupText.cs.
References Terraria.PopupText.FindNextItemTextSlot(), Terraria.GameContent.FontAssets.MouseText, Terraria.Main.netMode, Terraria.Main.popupText, Terraria.PopupText.position, Terraria.PopupText.ResetText(), and Terraria.Main.showItemText.
Referenced by Terraria.Projectile.AI_061_FishingBobber_GiveItemToPlayer(), Terraria.Main.CraftItem(), Terraria.Main.DrawInventory(), Terraria.Player.FillAmmo(), Terraria.Projectile.FishingCheck(), Terraria.Player.GetItem_FillEmptyInventorySlot(), Terraria.Player.GetItem_FillEmptyInventorySlot_VoidBag(), Terraria.Player.GetItem_FillIntoOccupiedSlot(), Terraria.Player.GetItem_FillIntoOccupiedSlot_VoidBag(), Terraria.Player.PutItemInInventoryFromItemUsage(), and Terraria.GameContent.LucyAxeMessage.SpawnPopupText().
Here is the call graph for this function:
Here is the caller graph for this function: