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

◆ Get()

List< IItemDropRule > Terraria.ModLoader.NPCLoot.Get ( bool includeGlobalDrops = true)
inline

Implements Terraria.ModLoader.ILoot.

Definition at line 20 of file NPCLoot.cs.

21 {
22 return itemDropDatabase.GetRulesForNPCID(npcNetId, includeGlobalDrops);
23 }
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: