// Token: 0x06003753 RID: 14163 RVA: 0x001836D8 File Offset: 0x00181AD8 public static void setFilter(EEconFilterMode newFilterMode, ulong newFilterInstigator) { MenuSurvivorsClothingUI.setCrafting(false); MenuSurvivorsClothingUI.filterMode = newFilterMode; MenuSurvivorsClothingUI.filterInstigator = newFilterInstigator; MenuSurvivorsClothingUI.searchField.isVisible = (MenuSurvivorsClothingUI.filterMode == EEconFilterMode.SEARCH); MenuSurvivorsClothingUI.searchButton.isVisible = (MenuSurvivorsClothingUI.filterMode == EEconFilterMode.SEARCH); MenuSurvivorsClothingUI.filterBox.isVisible = (MenuSurvivorsClothingUI.filterMode != EEconFilterMode.SEARCH); MenuSurvivorsClothingUI.cancelFilterButton.isVisible = (MenuSurvivorsClothingUI.filterMode != EEconFilterMode.SEARCH); if (MenuSurvivorsClothingUI.filterMode == EEconFilterMode.STAT_TRACKER) { int inventoryItem = Provider.provider.economyService.getInventoryItem(MenuSurvivorsClothingUI.filterInstigator); string inventoryName = Provider.provider.economyService.getInventoryName(inventoryItem); Color inventoryColor = Provider.provider.economyService.getInventoryColor(inventoryItem); string text = string.Concat(new string[] { "<color=", Palette.hex(inventoryColor), ">", inventoryName, "</color>" }); MenuSurvivorsClothingUI.filterBox.text = MenuSurvivorsClothingUI.localization.format("Filter_Item_Target", new object[] { text }); } MenuSurvivorsClothingUI.updateFilterAndPage(); }
// Token: 0x06003758 RID: 14168 RVA: 0x00183A26 File Offset: 0x00181E26 private static void onClickedSearchButton(SleekButton button) { MenuSurvivorsClothingUI.updateFilterAndPage(); }
// Token: 0x06003757 RID: 14167 RVA: 0x00183A1F File Offset: 0x00181E1F private static void onEnteredSearchField(SleekField field) { MenuSurvivorsClothingUI.updateFilterAndPage(); }