tModLoader v2024.05
A mod to make and play Terraria mods
ItemVariant Class Reference

Describes a variant of an Item. More...

Public Member Functions

 ItemVariant (LocalizedText description)
 Creates a new ItemVariant with the provided localized description. More...
 
override string ToString ()
 

Public Attributes

readonly LocalizedText Description
 The localized description of this ItemVariant.
 

Detailed Description

Describes a variant of an Item.

Constructor & Destructor Documentation

◆ ItemVariant()

ItemVariant.ItemVariant ( LocalizedText  description)

Creates a new ItemVariant with the provided localized description.

Parameters
descriptionThe localized description to use.