|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Determines if an F:Terraria.Item.type has a particular T:Terraria.GameContent.Items.ItemVariant.
| itemId | The F:Terraria.Item.type to check. |
| variant | The T:Terraria.GameContent.Items.ItemVariant to check for. |
true if itemId has a registered T:Terraria.GameContent.Items.ItemVariant of type variant , false otherwise.This method only checks if the given T:Terraria.GameContent.Items.ItemVariant exists, not if it will be applied.
Definition at line 118 of file ItemVariants.cs.
References Terraria.GameContent.Items.ItemVariants.GetEntry().
Referenced by Terraria.Item.SetDefaults().
Here is the call graph for this function:
Here is the caller graph for this function: