tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.NPCLoot Struct Reference

This readonly struct is a simple shortcut to ItemDropDatabase's methods. More...

Public Member Functions

 NPCLoot (int npcType, ItemDropDatabase itemDropDatabase)
 
IItemDropRule Add (IItemDropRule entry)
 
List< IItemDropRuleGet (bool includeGlobalDrops=true)
 
IItemDropRule Remove (IItemDropRule entry)
 
void RemoveWhere (Predicate< IItemDropRule > predicate, bool includeGlobalDrops=true)
 

Detailed Description

This readonly struct is a simple shortcut to ItemDropDatabase's methods.