tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.GameContent.ItemDropRules.ItemDropDatabase Class Reference

Public Member Functions

List< IItemDropRuleGetRulesForNPCID (int npcNetId, bool includeGlobalDrops=true)
 
void Populate ()
 
void PrepareNPCNetIDsByTypeDictionary ()
 
IItemDropRule RegisterToGlobal (IItemDropRule entry)
 
IItemDropRule RegisterToMultipleNPCs (IItemDropRule entry, params int[] npcNetIds)
 
IItemDropRule RegisterToNPC (int type, IItemDropRule entry)
 
void RegisterToNPCNetId (int npcNetId, IItemDropRule entry)
 
IItemDropRule RemoveFromMultipleNPCs (IItemDropRule entry, params int[] npcNetIds)
 
IItemDropRule RemoveFromNPC (int type, IItemDropRule entry)
 
void TrimDuplicateRulesForNegativeIDs ()