tModLoader v2022.09
A mod to make and play Terraria mods
|
Inherits Terraria.GameContent.ItemDropRules.IItemDropRule.
Public Member Functions | |
CoinsRule (long value, bool withRandomBonus=false) | |
bool | CanDrop (DropAttemptInfo info) |
void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
bool | CanDrop (DropAttemptInfo info) |
void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
Static Public Member Functions | |
static IEnumerable<(int itemId, int count)> | ToCoins (long money) |
Public Attributes | |
long | value |
bool | withRandomBonus = false |
Properties | |
List< IItemDropRuleChainAttempt > | ChainedRules = new() [get] |
Properties inherited from Terraria.GameContent.ItemDropRules.IItemDropRule | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
bool Terraria.GameContent.ItemDropRules.CoinsRule.CanDrop | ( | DropAttemptInfo | info | ) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
void Terraria.GameContent.ItemDropRules.CoinsRule.ReportDroprates | ( | List< DropRateInfo > | drops, |
DropRateInfoChainFeed | ratesInfo | ||
) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
ItemDropAttemptResult Terraria.GameContent.ItemDropRules.CoinsRule.TryDroppingItem | ( | DropAttemptInfo | info | ) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
|
get |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.