tModLoader v2024.10
A mod to make and play Terraria mods
|
This readonly struct is a simple shortcut for modifying global drop rules in an ItemDropDatabase. More...
Inherits ILoot.
Public Member Functions | |
GlobalLoot (ItemDropDatabase itemDropDatabase) | |
IItemDropRule | Add (IItemDropRule entry) |
List< IItemDropRule > | Get (bool unusedParam=true) |
IItemDropRule | Remove (IItemDropRule entry) |
void | RemoveWhere (Predicate< IItemDropRule > predicate, bool unusedParam=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 for modifying global drop rules in an ItemDropDatabase.
IItemDropRule GlobalLoot.Add | ( | IItemDropRule | entry | ) |
Implements ILoot.
List< IItemDropRule > GlobalLoot.Get | ( | bool | unusedParam = true | ) |
Implements ILoot.
IItemDropRule GlobalLoot.Remove | ( | IItemDropRule | entry | ) |
Implements ILoot.
void GlobalLoot.RemoveWhere | ( | Predicate< IItemDropRule > | predicate, |
bool | unusedParam = true |
||
) |
Implements ILoot.