public void UpdateNonEquipItems() { if (uiNonEquipItems != null) { uiNonEquipItems.UpdateData(BasePlayerCharacterController.OwningCharacter); } }
public void OnUpdateCharacterItems() { if (!IsVisible()) { return; } if (uiCharacterItem != null) { if (CharacterItem == null) { uiCharacterItem.Hide(); } else { uiCharacterItem.Setup(new CharacterItemTuple(CharacterItem, Level, InventoryType), OwningCharacter, IndexOfData); uiCharacterItem.Show(); } } if (uiSocketEnhancerItems != null) { uiSocketEnhancerItems.filterItemTypes = new List <ItemType>() { ItemType.SocketEnhancer }; uiSocketEnhancerItems.filterCategories = new List <string>(); uiSocketEnhancerItems.UpdateData(OwningCharacter); } }