Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LeadingConditionRule.cs
Go to the documentation of this file.
2
4
6{
8
9 public List<IItemDropRuleChainAttempt> ChainedRules { get; private set; }
10
16
17 public bool CanDrop(DropAttemptInfo info)
18 {
19 return condition.CanDrop(info);
20 }
21
27
29 {
31 result.State = ItemDropAttemptResultState.Success;
32 return result;
33 }
34}
static void ReportDroprates(List< IItemDropRuleChainAttempt > ChainedRules, float personalDropRate, List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
Definition Chains.cs:85
void ReportDroprates(List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
ItemDropAttemptResult TryDroppingItem(DropAttemptInfo info)