Terraria.ModLoader.ItemLoader.GetItemInfo C# (CSharp) Method

GetItemInfo() static private method

static private GetItemInfo ( Item item, Mod mod, string name ) : ItemInfo
item Item
mod Mod
name string
return ItemInfo
        internal static ItemInfo GetItemInfo(Item item, Mod mod, string name)
        {
            int index;
            return infoIndexes.TryGetValue(mod.Name + ':' + name, out index) ? item.itemInfo[index] : null;
        }