tModLoader v2023.01
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 Terraria.ModLoader.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 Terraria.ModLoader.GlobalLoot.Add | ( | IItemDropRule | entry | ) |
Implements Terraria.ModLoader.ILoot.
List< IItemDropRule > Terraria.ModLoader.GlobalLoot.Get | ( | bool | unusedParam = true | ) |
Implements Terraria.ModLoader.ILoot.
IItemDropRule Terraria.ModLoader.GlobalLoot.Remove | ( | IItemDropRule | entry | ) |
Implements Terraria.ModLoader.ILoot.
void Terraria.ModLoader.GlobalLoot.RemoveWhere | ( | Predicate< IItemDropRule > | predicate, |
bool | unusedParam = true |
||
) |
Implements Terraria.ModLoader.ILoot.