Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OnSuccess()

static IItemDropRule Terraria.GameContent.ItemDropRules.Chains.OnSuccess ( this IItemDropRule rule,
IItemDropRule ruleToChain,
bool hideLootReport = false )
inlinestatic

Definition at line 99 of file Chains.cs.

100 {
101 rule.ChainedRules.Add(new TryIfSucceeded(ruleToChain, hideLootReport));
102 return ruleToChain;
103 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add().