コード例 #1
0
        protected override void DrawSelf(SpriteBatch spriteBatch)
        {
            Dictionary <int, int> killCount = CheckBanner.BannerItemToKillCount(item);

            disable = killCount.Max(x => x.Value) <= 50;

            base.DrawSelf(spriteBatch);
            if (IsMouseHovering)
            {
                Tool.tooltip = $"{item.Name} [{string.Join(",", killCount.Select(x => x.Value))}]";
                BannerChecklist.instance.bannerChecklistTool.drawNPCList = CheckBanner.BannerItemToNPCs(item);
            }
        }