public string GetSearchString(ref BestiaryUICollectionInfo info)
        {
            bool flag = ItemDropBestiaryInfoElement.ShouldShowItem(ref this._droprateInfo);

            if (info.UnlockState < BestiaryEntryUnlockState.CanShowStats_2)
            {
                flag = false;
            }
            return(!flag ? (string)null : ContentSamples.ItemsByType[this._droprateInfo.itemId].Name);
        }
        public virtual UIElement ProvideUIElement(BestiaryUICollectionInfo info)
        {
            bool flag = ItemDropBestiaryInfoElement.ShouldShowItem(ref this._droprateInfo);

            if (info.UnlockState < BestiaryEntryUnlockState.CanShowStats_2)
            {
                flag = false;
            }
            return(!flag ? (UIElement)null : (UIElement) new UIBestiaryInfoItemLine(this._droprateInfo, info, 1f));
        }