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

◆ Remove()

IItemDropRule Terraria.ModLoader.NPCLoot.Remove ( IItemDropRule entry)
inline

Implements Terraria.ModLoader.ILoot.

Definition at line 31 of file NPCLoot.cs.

32 {
33 itemDropDatabase.RemoveFromNPCNetId(npcNetId, entry);
34 return entry;
35 }
readonly int npcNetId
Definition NPCLoot.cs:10
readonly ItemDropDatabase itemDropDatabase
Definition NPCLoot.cs:12

References Terraria.ModLoader.NPCLoot.itemDropDatabase, and Terraria.ModLoader.NPCLoot.npcNetId.

Referenced by Terraria.ModLoader.NPCLoot.RemoveWhere().

+ Here is the caller graph for this function: