tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.ItemDropRules.Chains.TryIfSucceeded Class Reference

Inherits Terraria.GameContent.ItemDropRules.IItemDropRuleChainAttempt.

Public Member Functions

 TryIfSucceeded (IItemDropRule rule, bool hideLootReport=false)
 
bool CanChainIntoRule (ItemDropAttemptResult parentResult)
 
void ReportDroprates (float personalDropRate, List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
 
bool CanChainIntoRule (ItemDropAttemptResult parentResult)
 
void ReportDroprates (float personalDropRate, List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
 

Public Attributes

bool hideLootReport
 

Properties

IItemDropRule RuleToChain [get]
 
- Properties inherited from Terraria.GameContent.ItemDropRules.IItemDropRuleChainAttempt
IItemDropRule RuleToChain [get]
 

Member Function Documentation

◆ CanChainIntoRule()

bool Terraria.GameContent.ItemDropRules.Chains.TryIfSucceeded.CanChainIntoRule ( ItemDropAttemptResult  parentResult)

◆ ReportDroprates()

void Terraria.GameContent.ItemDropRules.Chains.TryIfSucceeded.ReportDroprates ( float  personalDropRate,
List< DropRateInfo drops,
DropRateInfoChainFeed  ratesInfo 
)

Property Documentation

◆ RuleToChain

IItemDropRule Terraria.GameContent.ItemDropRules.Chains.TryIfSucceeded.RuleToChain
get