tModLoader v2022.09
A mod to make and play Terraria mods
|
This readonly struct is a simple shortcut to ItemDropDatabase's methods. More...
Inherits Terraria.ModLoader.ILoot.
Public Member Functions | |
NPCLoot (int npcNetId, ItemDropDatabase itemDropDatabase) | |
IItemDropRule | Add (IItemDropRule entry) |
List< IItemDropRule > | Get (bool includeGlobalDrops=true) |
IItemDropRule | Remove (IItemDropRule entry) |
void | RemoveWhere (Predicate< IItemDropRule > predicate, bool includeGlobalDrops=true) |
IItemDropRule | Add (IItemDropRule entry) |
List< IItemDropRule > | Get (bool includeGlobalDrops=true) |
IItemDropRule | Remove (IItemDropRule entry) |
void | RemoveWhere (Predicate< IItemDropRule > predicate, bool includeGlobalDrops=true) |
This readonly struct is a simple shortcut to ItemDropDatabase's methods.
IItemDropRule Terraria.ModLoader.NPCLoot.Add | ( | IItemDropRule | entry | ) |
Implements Terraria.ModLoader.ILoot.
List< IItemDropRule > Terraria.ModLoader.NPCLoot.Get | ( | bool | includeGlobalDrops = true | ) |
Implements Terraria.ModLoader.ILoot.
IItemDropRule Terraria.ModLoader.NPCLoot.Remove | ( | IItemDropRule | entry | ) |
Implements Terraria.ModLoader.ILoot.
void Terraria.ModLoader.NPCLoot.RemoveWhere | ( | Predicate< IItemDropRule > | predicate, |
bool | includeGlobalDrops = true |
||
) |
Implements Terraria.ModLoader.ILoot.