Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.ItemDropRules.ItemDropWithConditionRule Class Reference

Public Member Functions

 ItemDropWithConditionRule (int itemId, int chanceDenominator, int amountDroppedMinimum, int amountDroppedMaximum, IItemDropRuleCondition condition, int chanceNumerator=1)
 
override bool CanDrop (DropAttemptInfo info)
 
override void ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
 
virtual ItemDropAttemptResult TryDroppingItem (DropAttemptInfo info)
 

Public Attributes

IItemDropRuleCondition condition
 
int itemId
 
int chanceDenominator
 
int amountDroppedMinimum
 
int amountDroppedMaximum
 
int chanceNumerator
 

Properties

List< IItemDropRuleChainAttemptChainedRules [get, private set]
 

Detailed Description

Definition at line 5 of file ItemDropWithConditionRule.cs.


The documentation for this class was generated from the following file: