TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.ModLoader.NPCLoot Struct Reference

This readonly struct is a simple shortcut to T:Terraria.GameContent.ItemDropRules.ItemDropDatabase's methods. More...

+ Inheritance diagram for Terraria.ModLoader.NPCLoot:
+ Collaboration diagram for Terraria.ModLoader.NPCLoot:

Public Member Functions

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

Private Attributes

readonly int npcNetId
 
readonly ItemDropDatabase itemDropDatabase
 

Detailed Description

This readonly struct is a simple shortcut to T:Terraria.GameContent.ItemDropRules.ItemDropDatabase's methods.

Definition at line 8 of file NPCLoot.cs.


The documentation for this struct was generated from the following file: