|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
Returns whether or not the head armor, body armor, and leg armor textures make up a set. This hook is used for the PreUpdateVanitySet, UpdateVanitySet, and ArmorSetShadows hooks. By default, this will return the same value as the IsArmorSet hook (passing the equipment textures' associated items as parameters), so you will not have to use this hook unless you want vanity effects to be entirely separate from armor sets. Note that this hook is only ever called through this item's associated equipment texture.
| head | The head. |
| body | The body. |
| legs | The legs. |
Reimplemented in Terraria.ModLoader.Default.Developer.Jofairden.Jofairden_Head, Terraria.ModLoader.Default.Patreon.Guildpack_Head, Terraria.ModLoader.Default.Patreon.HER0zero_Body, Terraria.ModLoader.Default.Patreon.Orian_Head, and Terraria.ModLoader.Default.Patreon.Saethar_Head.
Definition at line 845 of file ModItem.cs.
References Terraria.Item.bodyType, Terraria.Item.headType, Terraria.ModLoader.ModItem.IsArmorSet(), Terraria.ID.ContentSamples.ItemsByType, and Terraria.Item.legType.
Here is the call graph for this function: