tModLoader v2024.08
A mod to make and play Terraria mods
SortingSteps.AStepByFittingFilter Class Referenceabstract

Inherits SortingSteps.ACreativeItemSortStep.

Inherited by SortingSteps.Blocks, SortingSteps.PlacableObjects, and SortingSteps.Walls.

Public Member Functions

override int Compare (Item x, Item y)
 
virtual int CompareWhenBothFit (Item x, Item y)
 
abstract bool FitsFilter (Item item)
 
- Public Member Functions inherited from SortingSteps.ACreativeItemSortStep
int Compare (int x, int y)
 
abstract int Compare (Item x, Item y)
 
abstract string GetDisplayNameKey ()
 
- Public Member Functions inherited from IEntrySortStep< int >
string GetDisplayNameKey ()
 

Member Function Documentation

◆ Compare()

override int SortingSteps.AStepByFittingFilter.Compare ( Item  x,
Item  y 
)
virtual