|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Converts a banner ID into the equivalent item type (F:Terraria.Item.type).
| banner | The banner ID to convert. |
You can get the banner ID of an NPC using M:Terraria.Item.NPCtoBanner(System.Int32).
Definition at line 2094 of file Item.cs.
References Terraria.ModLoader.NPCLoader.bannerToItem.
Referenced by Terraria.Player.ApplyBannerDefenseBuff(), Terraria.Player.ApplyBannerOffenseBuff(), Terraria.NPC.CountKillForBannersAndDropThem(), Terraria.GameContent.Bestiary.CommonEnemyUICollectionInfoProvider.GetKillCountNeeded(), and Terraria.SceneMetrics.ScanAndExportToMain().
Here is the caller graph for this function: