tModLoader v2024.02
A mod to make and play Terraria mods
Chains.TryIfSucceeded Class Reference

Inherits 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 IItemDropRuleChainAttempt
IItemDropRule RuleToChain [get]
 

Member Function Documentation

◆ CanChainIntoRule()

bool Chains.TryIfSucceeded.CanChainIntoRule ( ItemDropAttemptResult  parentResult)

◆ ReportDroprates()

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

Property Documentation

◆ RuleToChain

IItemDropRule Chains.TryIfSucceeded.RuleToChain
get