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

◆ OpenBossBag()

void Terraria.Player.OpenBossBag ( int type)
inline

Definition at line 7394 of file Player.cs.

7395 {
7396 DropFromItem(type);
7397 if (!ItemID.Sets.PreHardmodeLikeBossBag[type] || Main.tenthAnniversaryWorld)
7398 {
7400 }
7401 }
static bool[] PreHardmodeLikeBossBag
Set for pre-hardmode boss bags, except it also contains the Queen Slime's Boss Bag....
Definition ItemID.cs:1588
IEntitySource GetItemSource_OpenItem(int itemType)
Definition Player.cs:7836
void DropFromItem(int itemType)
Definition Player.cs:58207
void TryGettingDevArmor(IEntitySource source)
Definition Player.cs:7403

References Terraria.Player.DropFromItem(), Terraria.Player.GetItemSource_OpenItem(), Terraria.ID.ItemID.Sets.PreHardmodeLikeBossBag, Terraria.Main.tenthAnniversaryWorld, and Terraria.Player.TryGettingDevArmor().

Referenced by Terraria.UI.ItemSlot.TryOpenContainer().

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