tModLoader v2024.11
A mod to make and play Terraria mods
|
This readonly struct is a simple shortcut to ItemDropDatabase's methods. More...
Inherits 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 NPCLoot.Add | ( | IItemDropRule | entry | ) |
Implements ILoot.
List< IItemDropRule > NPCLoot.Get | ( | bool | includeGlobalDrops = true | ) |
Implements ILoot.
IItemDropRule NPCLoot.Remove | ( | IItemDropRule | entry | ) |
Implements ILoot.
void NPCLoot.RemoveWhere | ( | Predicate< IItemDropRule > | predicate, |
bool | includeGlobalDrops = true |
||
) |
Implements ILoot.