tModLoader v2024.09
A mod to make and play Terraria mods
Conditions.IsUsingSpecificAIValues Class Reference

Inherits IItemDropRuleCondition, and IProvideItemConditionDescription.

Public Member Functions

 IsUsingSpecificAIValues (int aislot, float valueToMatch)
 
bool CanDrop (DropAttemptInfo info)
 
bool CanShowItemDropInUI ()
 
string GetConditionDescription ()
 
bool CanDrop (DropAttemptInfo info)
 
bool CanShowItemDropInUI ()
 
string GetConditionDescription ()
 

Public Attributes

int aiSlotToCheck
 
float valueToMatch
 

Member Function Documentation

◆ CanDrop()

bool Conditions.IsUsingSpecificAIValues.CanDrop ( DropAttemptInfo  info)

◆ CanShowItemDropInUI()

bool Conditions.IsUsingSpecificAIValues.CanShowItemDropInUI ( )

◆ GetConditionDescription()

string Conditions.IsUsingSpecificAIValues.GetConditionDescription ( )