public void Start() { if (this.SortToggles == null) { return; } for (int index = 0; index < this.SortToggles.Length; ++index) { // ISSUE: method pointer ((UnityEvent <bool>) this.SortToggles[index].toggle.onValueChanged).AddListener(new UnityAction <bool>((object)this, __methodptr(OnSelect))); } for (int index = 0; index < this.SortOrderToggles.Length; ++index) { // ISSUE: method pointer ((UnityEvent <bool>) this.SortOrderToggles[index].toggle.onValueChanged).AddListener(new UnityAction <bool>((object)this, __methodptr(OnSelectOrder))); } this.CurrentType = ConceptCardListSortWindow.LoadData(); this.FirstType = this.CurrentType; for (int index = 0; index < this.SortToggles.Length; ++index) { GameUtility.SetToggle(this.SortToggles[index].toggle, this.SortToggles[index].type == (this.CurrentType & (ConceptCardListSortWindow.Type) 16777215)); } for (int index = 0; index < this.SortOrderToggles.Length; ++index) { GameUtility.SetToggle(this.SortOrderToggles[index].toggle, this.SortOrderToggles[index].type == (this.CurrentType & (ConceptCardListSortWindow.Type) 251658240)); } }
public static ConceptCardListSortWindow.Type LoadDataType() { return(ConceptCardListSortWindow.LoadData() & (ConceptCardListSortWindow.Type) 16777215); }
public static ConceptCardListSortWindow.Type LoadDataOrderType() { return(ConceptCardListSortWindow.LoadData() & (ConceptCardListSortWindow.Type) 251658240); }
public void Load() { this.CurrentType = ConceptCardListSortWindow.LoadData(); }