using System; using System.Collections.Generic; using DB; using IO; using Mai2.Mai2Cue; using MAI2.Util; using Mai2.Voice_000001; using Manager; using Manager.MaiStudio; using UI; using UI.Common; using UI.DaisyChainList; using UnityEngine; using UnityEngine.UI; using Util; // Token: 0x02000064 RID: 100 public class CollectionMonitor : MonitorBase, ICollectionMonitor { // Token: 0x1700006A RID: 106 // (get) Token: 0x0600031E RID: 798 RVA: 0x0000C666 File Offset: 0x0000B866 // (set) Token: 0x0600031F RID: 799 RVA: 0x0000C66E File Offset: 0x0000B86E public bool cameFromPartnerPresent { get; set; } // Token: 0x1700006B RID: 107 // (get) Token: 0x06000320 RID: 800 RVA: 0x0000C677 File Offset: 0x0000B877 // (set) Token: 0x06000321 RID: 801 RVA: 0x0000C67F File Offset: 0x0000B87F public bool timeUp { get; set; } // Token: 0x1700006C RID: 108 // (get) Token: 0x06000322 RID: 802 RVA: 0x0000C688 File Offset: 0x0000B888 // (set) Token: 0x06000323 RID: 803 RVA: 0x0000C690 File Offset: 0x0000B890 public bool shopPartnerWindowOpened { get; set; } // Token: 0x1700006D RID: 109 // (get) Token: 0x06000324 RID: 804 RVA: 0x0000C699 File Offset: 0x0000B899 // (set) Token: 0x06000325 RID: 805 RVA: 0x0000C6A1 File Offset: 0x0000B8A1 public bool partnerRoomRewardWindowOpened { get; set; } // Token: 0x1700006E RID: 110 // (get) Token: 0x06000327 RID: 807 RVA: 0x0000C6B3 File Offset: 0x0000B8B3 // (set) Token: 0x06000326 RID: 806 RVA: 0x0000C6AA File Offset: 0x0000B8AA public List newRewardList { get; set; } = new List(); // Token: 0x06000328 RID: 808 RVA: 0x0000C6BB File Offset: 0x0000B8BB private void Awake() { this._collectionAcquitionPlate = Object.Instantiate(this._colletionAcquitionPlateObj, this._collectionAcquitionParent).GetComponent(); this._maiMaileAcquisitionPlate = Object.Instantiate(this._maiMaileAcquisitionPlateObj, this._maiMaileAcquisitionParent).GetComponent(); } // Token: 0x06000329 RID: 809 RVA: 0x0000C6F5 File Offset: 0x0000B8F5 public void PrevInit(ICollectionProcess collectionProcess, AssetManager manager) { this._process = collectionProcess; this._assetManager = manager; } // Token: 0x0600032A RID: 810 RVA: 0x0000C708 File Offset: 0x0000B908 public void SetVisibleTrialUserBlur(bool isActive = true) { GameObject gameObject = this.Main.gameObject; int childCount = gameObject.transform.childCount; gameObject.SetActive(true); for (int i = 0; i < childCount; i++) { gameObject.transform.GetChild(i).gameObject.SetActive(false); } this._blur.gameObject.SetActive(true); this.SetVisibleBlur(isActive); } // Token: 0x0600032B RID: 811 RVA: 0x0000C770 File Offset: 0x0000B970 public void Initialize(int monIndex, bool active, CollectionProcess.SubSequence subSequence) { base.Initialize(monIndex, active); if (this.IsActive()) { MechaManager.LedIf[monIndex].ButtonLedReset(); } if (!active) { this.Main.gameObject.SetActive(false); this.Sub.gameObject.SetActive(false); } this._partnerRoom = Object.Instantiate(this._partnerRoomObj, this._partnerRoomParent).GetComponent(); this._buttonController.intimateButtonPlus = this._partnerRoom.GetIntimateButtonPlus(); this._buttonController.intimateButtonMinus = this._partnerRoom.GetIntimateButtonMinus(); this._buttonController.Initialize(monIndex); this._buttonInfoController.Initialize(monIndex); if (active) { this._buttonController.SetVisibleImmediate(false, new int[] { 4 }); this._buttonController.SetVisibleImmediate(false, new int[] { 5 }); } this._partnerRoom.gameObject.SetActive(false); this.SetVisibleBlur(subSequence > CollectionProcess.SubSequence.SelectCollectionType); if (active) { this._collectionTabController.Initialize(monIndex); this._collectionChainList.Initialize(); this._collectionChainList.AdvancedInitialize(this._process, this._assetManager, monIndex); this._collectionChainList.Deploy(); this._selectorBgController = Object.Instantiate(this._originalSelectorBackgroundObject, this._selectorBackgroundObjectTargetParent).GetComponent(); this._selectorBaseColors = new Color[8]; for (int i = 0; i < 8; i++) { this._selectorBaseColors[i] = Utility.ConvertColor(((CollectionGenreID)i).GetMainColor()); } this._collectionAcquitionPlate.Prepare(CollectionProcess.SubSequence.SelectCollectionType, this._process.GetTotalCollectionNum(monIndex)); if (this._process.CurrentColletionType(base.MonitorIndex) == CollectionGenreID.Shop) { this._collectionAcquitionPlate.gameObject.SetActive(false); this._maiMaileAcquisitionPlate.gameObject.SetActive(true); this.UpdateMaiMaileAcquitionPlateNum(); } else { this._collectionAcquitionPlate.gameObject.SetActive(true); this._maiMaileAcquisitionPlate.gameObject.SetActive(false); } this.SetVisibleIndicator(false); this.SetScrollMessage(CommonMessageID.Scroll_Collection_Top.GetName()); this.SetVisibleTitleImage(true); this.SetVisibleExitImage(true); this._customInfoAnimController.gameObject.SetActive(true); this._customInfoAnimController.Play("In"); } } // Token: 0x0600032C RID: 812 RVA: 0x0000C9B0 File Offset: 0x0000BBB0 public void StartAnimation(CollectionGenreID current, CollectionProcess.SubSequence subSequence) { this.SetSelectorBaseColor(current); this._buttonInfoController.SetVisibleImmediate(false, new int[1]); this._buttonController.SetVisibleImmediate(false, new int[] { 4, 5 }); if (subSequence == CollectionProcess.SubSequence.Information) { this._buttonController.SetVisibleImmediate(false, new int[] { 0, 1, 2, 3 }); base.Invoke("DisplayInfoButton", 3f); } else { this._buttonController.SetVisibleImmediate(false, new int[] { 3 }); this._buttonController.SetVisibleImmediate(true, new int[] { 2 }); this.SetSelectionButton(); } if (current == CollectionGenreID.Exit || current == CollectionGenreID.ExitLeft) { this.SetVisibleExitImage(false); return; } this.SetVisibleExitImage(true); } // Token: 0x0600032D RID: 813 RVA: 0x0000CA6C File Offset: 0x0000BC6C public override void ViewUpdate() { this._buttonController.ViewUpdate((float)GameManager.GetGameMSecAdd()); this.UpdateListSlideAnimation(); this._collectionChainList.ViewUpdate(); this.UpdateIndicator(); this.UpdateScroll(); this._collectionTabController.UpdateButtonAnimation(); } // Token: 0x0600032E RID: 814 RVA: 0x0000CAA8 File Offset: 0x0000BCA8 private void UpdateListSlideAnimation() { if (this._isAnimation) { this._syncTimer += (float)GameManager.GetGameMSecAdd(); if (this._syncTimer / this._duration >= 1f) { if (!this._isStartSlideIn) { this.ReDeploy(); this.PrepareSlideInAnim(this._animationType); this._isStartSlideIn = true; this._syncTimer = 0f; return; } this._isAnimation = false; } } } // Token: 0x0600032F RID: 815 RVA: 0x0000CB18 File Offset: 0x0000BD18 private void ReDeploy() { this._collectionChainList.Deploy(); } // Token: 0x06000330 RID: 816 RVA: 0x0000CB18 File Offset: 0x0000BD18 public void ReDeployOnShop() { this._collectionChainList.Deploy(); } // Token: 0x06000331 RID: 817 RVA: 0x0000CB28 File Offset: 0x0000BD28 public void ChangeSubSequence(CollectionProcess.SubSequence subSequence) { this.PrepareSlideOutAnim(CollectionListAnimationController.AnimationType.ToUpper); this.SetCollectionAcquitionPlate(subSequence); switch (subSequence) { case CollectionProcess.SubSequence.SelectCollectionType: this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); if (this.cameFromPartnerPresent) { this.cameFromPartnerPresent = false; this.ReturnCollectionGenreIDFromPartnerRoom(this._prevSubSequence); } else { this.ReturnCollectionGenreID(this._prevSubSequence); } break; case CollectionProcess.SubSequence.Title: this.CommonCollectionGenreID2Collection(); this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this.CreateAnnounceMessage(subSequence); SoundManager.PlayVoice(Mai2.Voice_000001.Cue.VO_000159, base.MonitorIndex); break; case CollectionProcess.SubSequence.Icon: this.CommonCollectionGenreID2Collection(); this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this.CreateAnnounceMessage(subSequence); SoundManager.PlayVoice(Mai2.Voice_000001.Cue.VO_000157, base.MonitorIndex); break; case CollectionProcess.SubSequence.NamePlate: this.CommonCollectionGenreID2Collection(); this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this.CreateAnnounceMessage(subSequence); SoundManager.PlayVoice(Mai2.Voice_000001.Cue.VO_000158, base.MonitorIndex); break; case CollectionProcess.SubSequence.Frame: this.CommonCollectionGenreID2Collection(); this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this.CreateAnnounceMessage(subSequence); SoundManager.PlayVoice(Mai2.Voice_000001.Cue.VO_000253, base.MonitorIndex); break; case CollectionProcess.SubSequence.Prtner: if (this.cameFromPartnerPresent) { this.cameFromPartnerPresent = false; this.PartnerCollectionGenreID2Collection(); } else { this.CommonCollectionGenreID2Collection(); } this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this._customInfoImage.ChangeSprite(2); this.CreateAnnounceMessage(subSequence); SoundManager.PlayVoice(Mai2.Voice_000001.Cue.VO_000247, base.MonitorIndex); break; case CollectionProcess.SubSequence.PartnerPresent: this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this._partnerRoom.InPartnerRoom(); this._buttonController.SetVisibleImmediate(false, new int[] { 4 }); this._buttonController.SetVisibleImmediate(false, new int[] { 5 }); break; case CollectionProcess.SubSequence.PartnerPresentConfirm: this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Collection); this._partnerRoom.InPartnerDialog(); break; } this._prevSubSequence = subSequence; } // Token: 0x06000332 RID: 818 RVA: 0x0000CCFA File Offset: 0x0000BEFA public void InitalizeShopMonitor() { this.ShopCollectionGenreID2Collection(); this.SetTitleAndInfoImage(CollectionMonitor.TitleTable.Shop); this.CreateAnnounceMessage(CollectionProcess.SubSequence.Shop); SoundManager.PlaySE(Mai2.Mai2Cue.Cue.SE_COLLECTION_MILE_SHOP, base.MonitorIndex); } // Token: 0x06000333 RID: 819 RVA: 0x0000CD21 File Offset: 0x0000BF21 public void OutPartnerRoom() { this._partnerRoom.OutPartnerRoom(); } // Token: 0x06000334 RID: 820 RVA: 0x0000CD2E File Offset: 0x0000BF2E public void OutPartnerRoomDialog() { this._partnerRoom.OutPartnerDialog(); } // Token: 0x06000335 RID: 821 RVA: 0x0000CD3B File Offset: 0x0000BF3B public void SetPartnerRoomActive(bool active) { this._partnerRoom.gameObject.SetActive(active); } // Token: 0x06000336 RID: 822 RVA: 0x0000CD4E File Offset: 0x0000BF4E public void CreatePartner(int id) { this._partnerRoom.CreatePartner(id); } // Token: 0x06000337 RID: 823 RVA: 0x0000CD5C File Offset: 0x0000BF5C public void SetPartnerName(string name) { this._partnerRoom.SetPartnerName(name); } // Token: 0x06000338 RID: 824 RVA: 0x0000CD6A File Offset: 0x0000BF6A public void SetPresentConfirmMessageText(string name, int presentNum) { this._partnerRoom.SetPresentConfirmMessageText(name, presentNum); } // Token: 0x06000339 RID: 825 RVA: 0x0000CD79 File Offset: 0x0000BF79 public void PlayPartnerEmotionEffectOnceTime() { this._partnerRoom.PlayPartnerEmotionEffectOnceTime(); } // Token: 0x0600033A RID: 826 RVA: 0x0000CD86 File Offset: 0x0000BF86 public void PlayPartnerFunLoopOnceTime() { this._partnerRoom.PlayPartnerFunLoopOnceTime(); } // Token: 0x0600033B RID: 827 RVA: 0x0000CD93 File Offset: 0x0000BF93 public void PlayPartnerFunStart() { this._partnerRoom.PlayPartnerFunStart(); } // Token: 0x0600033C RID: 828 RVA: 0x0000CDA0 File Offset: 0x0000BFA0 public void StartIntimateAnimation(int startNum, int endNum) { this._partnerRoom.StartIntimateAnimation(startNum, endNum); } // Token: 0x0600033D RID: 829 RVA: 0x0000CDAF File Offset: 0x0000BFAF public void UpdateDisplayIntimateNumText(int displayIntimateNum) { this._partnerRoom.UpdateDisplayIntimateNumText(displayIntimateNum); } // Token: 0x0600033E RID: 830 RVA: 0x0000CDC0 File Offset: 0x0000BFC0 public void SetCollectionAcquitionPlate(CollectionProcess.SubSequence subSequence) { int num = 0; bool flag = true; this._collectionAcquitionPlate.gameObject.SetActive(true); this._maiMaileAcquisitionPlate.gameObject.SetActive(false); switch (subSequence) { case CollectionProcess.SubSequence.SelectCollectionType: num = this._process.GetTotalCollectionNum(base.MonitorIndex); if (this._process.CurrentColletionType(base.MonitorIndex) == CollectionGenreID.Shop) { this._collectionAcquitionPlate.gameObject.SetActive(false); this._maiMaileAcquisitionPlate.gameObject.SetActive(true); } break; case CollectionProcess.SubSequence.Title: num = this._process.GetAllTitleNum(base.MonitorIndex); break; case CollectionProcess.SubSequence.Icon: num = this._process.GetAllIconNum(base.MonitorIndex); break; case CollectionProcess.SubSequence.NamePlate: num = this._process.GetAllPlateNum(base.MonitorIndex); break; case CollectionProcess.SubSequence.Frame: num = this._process.GetAllFrameNum(base.MonitorIndex); break; case CollectionProcess.SubSequence.Prtner: num = this._process.GetAllPartnerNum(base.MonitorIndex); break; case CollectionProcess.SubSequence.Shop: this._collectionAcquitionPlate.gameObject.SetActive(false); this._maiMaileAcquisitionPlate.gameObject.SetActive(true); break; case CollectionProcess.SubSequence.ShopPartnerGetWindow: case CollectionProcess.SubSequence.ShopPartnerSetDialog: case CollectionProcess.SubSequence.PartnerPresent: case CollectionProcess.SubSequence.PartnerPresentConfirm: case CollectionProcess.SubSequence.PartnerPresentReward: flag = false; break; } if (flag) { this._collectionAcquitionPlate.Prepare(subSequence, num); this.UpdateMaiMaileAcquitionPlateNum(); return; } this._collectionAcquitionPlate.gameObject.SetActive(false); this._maiMaileAcquisitionPlate.gameObject.SetActive(false); } // Token: 0x0600033F RID: 831 RVA: 0x0000CF44 File Offset: 0x0000C144 public void UpdateMaiMaileAcquitionPlateNum() { UserData userData = Singleton.Instance.GetUserData((long)base.MonitorIndex); if (userData != null) { this._maiMaileAcquisitionPlate.SetMaiMaileNum(userData.Detail.Point); } } // Token: 0x06000340 RID: 832 RVA: 0x0000CF7C File Offset: 0x0000C17C public void ScrollInitialCollection() { this._collectionChainList.Scroll(Direction.Left); this.SetScrollCard(false); } // Token: 0x06000341 RID: 833 RVA: 0x0000CF94 File Offset: 0x0000C194 public bool ScrollCollectionListRight(bool isLongTap) { bool flag = false; if (this._collectionChainList.IsCrossBoundary(Direction.Right)) { if (isLongTap) { this.ReDeploy(); } else { this.PrepareSlideOutAnim(CollectionListAnimationController.AnimationType.ToRight); flag = true; } this.PrepareIndicator(); this._collectionTabController.Change(this._process.CurrentCategoryIndex(base.MonitorIndex), Direction.Right); } else { this._collectionChainList.Scroll(Direction.Right); } this._buttonController.SetAnimationActive(1); this.SetScrollCard(isLongTap); return flag; } // Token: 0x06000342 RID: 834 RVA: 0x0000D00C File Offset: 0x0000C20C public bool ScrollCollectionListLeft(bool isLongTap) { bool flag = false; if (this._collectionChainList.IsCrossBoundary(Direction.Left)) { if (isLongTap) { this.ReDeploy(); } else { this.PrepareSlideOutAnim(CollectionListAnimationController.AnimationType.ToLeft); flag = true; } this.PrepareIndicator(); this._collectionTabController.Change(this._process.CurrentCategoryIndex(base.MonitorIndex), Direction.Left); } else { this._collectionChainList.Scroll(Direction.Left); } this._buttonController.SetAnimationActive(0); this.SetScrollCard(isLongTap); return flag; } // Token: 0x06000343 RID: 835 RVA: 0x0000D083 File Offset: 0x0000C283 public void ScrollCategoryRight() { this._collectionTabController.Change(this._process.CurrentCategoryIndex(base.MonitorIndex), Direction.Left); this._collectionTabController.PressedTabButton(true); this.PrepareIndicator(); this.PrepareSlideOutAnim(CollectionListAnimationController.AnimationType.ToRight); } // Token: 0x06000344 RID: 836 RVA: 0x0000D0BB File Offset: 0x0000C2BB public void ScrollCategoryLeft() { this._collectionTabController.Change(this._process.CurrentCategoryIndex(base.MonitorIndex), Direction.Right); this._collectionTabController.PressedTabButton(false); this.PrepareIndicator(); this.PrepareSlideOutAnim(CollectionListAnimationController.AnimationType.ToLeft); } // Token: 0x06000345 RID: 837 RVA: 0x0000D0F3 File Offset: 0x0000C2F3 public void SetScrollCard(bool isVisible) { this._collectionChainList.SetScrollCard(isVisible); } // Token: 0x06000346 RID: 838 RVA: 0x0000D104 File Offset: 0x0000C304 private void ReturnCollectionGenreID(CollectionProcess.SubSequence subSequence) { this._buttonController.SetVisible(false, new int[] { 3 }); this._buttonController.SetAnimationActive(3); if (this._process.CurrentColletionType(this.monitorIndex) == CollectionGenreID.Shop) { this._buttonController.ChangeFlatButtonSymbol(2, 5); } else { this._buttonController.ChangeFlatButtonSymbol(2, 24); } this._collectionChainList.SetScrollCard(false); this._collectionTabController.PlayOutAnimation(); this.SetVisibleIndicator(false); this.SetCollectionGenreIDListButton(this._process.ConvertToCollectionGenreID(subSequence)); this.SetSelectorBaseColorWithSubSequenceId(subSequence); this.SetVisibleTitleImage(true); this.SetVisibleExitImage(true); this.SetScrollMessage(CommonMessageID.Scroll_Collection_Top.GetName()); this._customInfoAnimController.gameObject.SetActive(true); } // Token: 0x06000347 RID: 839 RVA: 0x0000D1C8 File Offset: 0x0000C3C8 private void ReturnCollectionGenreIDFromPartnerRoom(CollectionProcess.SubSequence subSequence) { this._buttonController.ChangeFlatButtonSymbol(2, 24); this._collectionChainList.SetScrollCard(false); this._collectionTabController.PlayOutAnimation(); this.SetVisibleIndicator(false); this.SetCollectionGenreIDListButton(this._process.ConvertToCollectionGenreID(subSequence)); this.SetSelectorBaseColorWithSubSequenceId(subSequence); this.SetVisibleTitleImage(true); this.SetVisibleExitImage(true); this.SetScrollMessage(CommonMessageID.Scroll_Collection_Top.GetName()); this._customInfoAnimController.gameObject.SetActive(true); } // Token: 0x06000348 RID: 840 RVA: 0x0000D248 File Offset: 0x0000C448 private void CommonCollectionGenreID2Collection() { this._buttonController.SetAnimationActive(2); this._buttonController.SetVisible(true, new int[] { 0, 1 }); this._buttonController.ChangeFlatButtonSymbol(3, 6); this._buttonController.ChangeFlatButtonSymbol(2, 20); this._collectionTabController.CollectionType2Collection(this._process.GetTabDatas(base.MonitorIndex), this._process.CurrentCategoryIndex(base.MonitorIndex)); this.SetVisibleIndicator(true); this.PrepareIndicator(); this.SetVisibleExitImage(false); this._customInfoAnimController.gameObject.SetActive(true); } // Token: 0x06000349 RID: 841 RVA: 0x0000D2E4 File Offset: 0x0000C4E4 private void PartnerCollectionGenreID2Collection() { this._collectionTabController.CollectionType2Collection(this._process.GetTabDatas(base.MonitorIndex), this._process.CurrentCategoryIndex(base.MonitorIndex)); this.SetVisibleIndicator(true); this.PrepareIndicator(); this.SetVisibleExitImage(false); this._customInfoAnimController.gameObject.SetActive(true); } // Token: 0x0600034A RID: 842 RVA: 0x0000D344 File Offset: 0x0000C544 private void ShopCollectionGenreID2Collection() { this._buttonController.SetAnimationActive(2); this._buttonController.ChangeFlatButtonSymbol(3, 6); this._buttonController.ChangeFlatButtonSymbol(2, 36); this._collectionTabController.CollectionType2Collection(this._process.GetTabDatas(base.MonitorIndex), this._process.CurrentCategoryIndex(base.MonitorIndex)); this.SetVisibleIndicator(true); this.PrepareIndicator(); this.SetVisibleExitImage(false); this._customInfoAnimController.gameObject.SetActive(true); } // Token: 0x0600034B RID: 843 RVA: 0x0000D3CA File Offset: 0x0000C5CA public void ChangeFlatButtonSymbol(int index, int spriteNum) { this._buttonController.ChangeFlatButtonSymbol(index, spriteNum); } // Token: 0x0600034C RID: 844 RVA: 0x0000D3D9 File Offset: 0x0000C5D9 public void ChangeFlatButtonDefine(int index, int spriteNum) { this._buttonController.ChangeFlatButtonDefine(index, spriteNum); } // Token: 0x0600034D RID: 845 RVA: 0x0000D3E8 File Offset: 0x0000C5E8 public void InPartnerRoomUIOut() { this._buttonController.SetVisible(false, new int[] { 1, 0, 2, 3 }); } // Token: 0x0600034E RID: 846 RVA: 0x0000D407 File Offset: 0x0000C607 public void InPartnerRoomUIIn() { this._buttonController.SetVisible(true, new int[] { 3 }); } // Token: 0x0600034F RID: 847 RVA: 0x0000D420 File Offset: 0x0000C620 public void OutPartnerRoomUiOut() { if (this._buttonController.GetVisible(4)) { this._buttonController.SetVisible(false, new int[] { 4 }); } if (this._buttonController.GetVisible(5)) { this._buttonController.SetVisible(false, new int[] { 5 }); } if (this._buttonController.GetVisible(2)) { this._buttonController.SetVisible(false, new int[] { 2 }); } if (this._buttonController.GetVisible(3)) { this._buttonController.SetVisible(false, new int[] { 3 }); } } // Token: 0x06000350 RID: 848 RVA: 0x0000D4BD File Offset: 0x0000C6BD public void SetPresentNumText(int presentNum) { this._partnerRoom.SetPresentNumText(presentNum); } // Token: 0x06000351 RID: 849 RVA: 0x0000D4CB File Offset: 0x0000C6CB public void SetIntimateItemNumText(int intimateItemNum) { this._partnerRoom.SetIntimateItemNumText(intimateItemNum); } // Token: 0x06000352 RID: 850 RVA: 0x0000D4D9 File Offset: 0x0000C6D9 public CollectionWindow GetCollectionWindow() { return this._partnerRoom.GetCollectionWindow(); } // Token: 0x06000353 RID: 851 RVA: 0x0000D4E6 File Offset: 0x0000C6E6 private void PrepareSlideOutAnim(CollectionListAnimationController.AnimationType animationType) { this._isStartSlideIn = false; this._animationType = animationType; this._isAnimation = true; this._syncTimer = 0f; } // Token: 0x06000354 RID: 852 RVA: 0x0000D508 File Offset: 0x0000C708 private void PrepareSlideInAnim(CollectionListAnimationController.AnimationType animationType) { this._syncTimer = 0f; } // Token: 0x06000355 RID: 853 RVA: 0x0000D515 File Offset: 0x0000C715 public void PushDesitionButton(CollectionProcess.SubSequence subSequence) { this._buttonController.SetAnimationActive(2); this.ChangeEquipmentIcon(); } // Token: 0x06000356 RID: 854 RVA: 0x0000D529 File Offset: 0x0000C729 private void ChangeEquipmentIcon() { this._collectionChainList.ChangeEquipmentIcon(); } // Token: 0x06000357 RID: 855 RVA: 0x0000D536 File Offset: 0x0000C736 public void UpdateFavoriteCollection(UserData.Collection collectionType, bool isFavorite) { this._collectionChainList.UpdateFavoriteCollection(collectionType, isFavorite); } // Token: 0x06000358 RID: 856 RVA: 0x0000D545 File Offset: 0x0000C745 public void SetActiveButtonAnimation(int index) { this._buttonController.SetAnimationActive(index); } // Token: 0x06000359 RID: 857 RVA: 0x0000D554 File Offset: 0x0000C754 public void SetCollectionGenreIDListButton(CollectionGenreID type) { if (type == CollectionGenreID.ExitLeft) { this._buttonController.SetVisible(false, new int[] { 1 }); return; } if (type == CollectionGenreID.Exit) { this._buttonController.SetVisible(false, new int[1]); return; } this._buttonController.SetVisible(true, new int[] { 0, 1 }); } // Token: 0x0600035A RID: 858 RVA: 0x0000D5A8 File Offset: 0x0000C7A8 private void SetSelectorBaseColor(CollectionGenreID id) { this._selectorBgController.SetBackgroundColor(this._selectorBaseColors[(int)id]); this._selectorBgController.Play(SelectorBackgroundController.AnimationType.In); } // Token: 0x0600035B RID: 859 RVA: 0x0000D5CD File Offset: 0x0000C7CD public void SetSelectorBaseColorWithoutAnimation(CollectionGenreID id) { this._selectorBgController.SetBackgroundColor(this._selectorBaseColors[(int)id]); } // Token: 0x0600035C RID: 860 RVA: 0x0000D5E8 File Offset: 0x0000C7E8 private void SetSelectorBaseColorWithSubSequenceId(CollectionProcess.SubSequence id) { Color color; color..ctor(1f, 0f, 0f); switch (id) { case CollectionProcess.SubSequence.Title: color = this._selectorBaseColors[1]; break; case CollectionProcess.SubSequence.Icon: color = this._selectorBaseColors[2]; break; case CollectionProcess.SubSequence.NamePlate: color = this._selectorBaseColors[3]; break; case CollectionProcess.SubSequence.Frame: color = this._selectorBaseColors[4]; break; case CollectionProcess.SubSequence.Prtner: case CollectionProcess.SubSequence.PartnerPresent: case CollectionProcess.SubSequence.PartnerPresentConfirm: case CollectionProcess.SubSequence.PartnerPresentReward: color = this._selectorBaseColors[5]; break; case CollectionProcess.SubSequence.Shop: case CollectionProcess.SubSequence.ShopPartnerGetWindow: case CollectionProcess.SubSequence.ShopPartnerSetDialog: color = this._selectorBaseColors[6]; break; case CollectionProcess.SubSequence.Exit: color = this._selectorBaseColors[7]; break; case CollectionProcess.SubSequence.ExitLeft: color = this._selectorBaseColors[0]; break; } this._selectorBgController.SetBackgroundColor(color); this._selectorBgController.Play(SelectorBackgroundController.AnimationType.In); } // Token: 0x0600035D RID: 861 RVA: 0x0000D6D7 File Offset: 0x0000C8D7 public void DisplayInfoButton() { this._buttonInfoController.SetVisible(true, new int[1]); } // Token: 0x0600035E RID: 862 RVA: 0x0000D6EB File Offset: 0x0000C8EB public void SetVisibleButton(bool isActive, params int[] indexs) { this._buttonController.SetVisible(isActive, indexs); } // Token: 0x0600035F RID: 863 RVA: 0x0000D6FA File Offset: 0x0000C8FA public bool GetVisibleButton(int button) { return this._buttonController.GetVisible(button); } // Token: 0x06000360 RID: 864 RVA: 0x0000D708 File Offset: 0x0000C908 public ButtonControllerBase.FlatButtonType GetFlatButtonType(int index) { return this._buttonController.GetFlatButtonSymbolType(index); } // Token: 0x06000361 RID: 865 RVA: 0x0000D718 File Offset: 0x0000C918 public void SetSelectionButton() { if (this._initGenreID != CollectionGenreID.ExitLeft && this._initGenreID != CollectionGenreID.Exit) { this._buttonController.SetVisibleImmediate(true, new int[1]); this._buttonController.SetVisibleImmediate(true, new int[] { 1 }); return; } if (this._initGenreID == CollectionGenreID.ExitLeft) { this._buttonController.SetVisibleImmediate(true, new int[1]); this._buttonController.SetVisibleImmediate(false, new int[] { 1 }); return; } this._buttonController.SetVisibleImmediate(false, new int[1]); this._buttonController.SetVisibleImmediate(true, new int[] { 1 }); } // Token: 0x06000362 RID: 866 RVA: 0x0000D7B8 File Offset: 0x0000C9B8 public void InformationToCollection() { if (base.IsInvoking("DisplayInfoButton")) { base.CancelInvoke("DisplayInfoButton"); } else { this._buttonInfoController.SetAnimationActive(0); this._buttonInfoController.SetVisible(false, new int[1]); } this._buttonController.SetVisible(true, new int[] { 2 }); this.SetSelectionButton(); } // Token: 0x06000363 RID: 867 RVA: 0x0000D819 File Offset: 0x0000CA19 public void SetVisibleBlur(bool isActive) { this._blur.alpha = (float)(isActive ? 1 : 0); } // Token: 0x06000364 RID: 868 RVA: 0x0000D830 File Offset: 0x0000CA30 private void UpdateIndicator() { int num = this._process.CurrentCollectionIndex(base.MonitorIndex); this._selectorBgController.UpdateIndicator(num); } // Token: 0x06000365 RID: 869 RVA: 0x0000D85C File Offset: 0x0000CA5C private void PrepareIndicator() { int num = this._process.CurrentCollectionIndex(base.MonitorIndex); int num2 = this._process.CurrentCategoryCollectionNum(base.MonitorIndex); if (num2 != 0) { this._selectorBgController.PrepareIndicator(num, num2); } } // Token: 0x06000366 RID: 870 RVA: 0x0000D89D File Offset: 0x0000CA9D private void SetVisibleIndicator(bool isActive) { this._selectorBgController.SetVisibleIndicator(isActive); } // Token: 0x06000367 RID: 871 RVA: 0x0000D8AC File Offset: 0x0000CAAC private void CreateAnnounceMessage(CollectionProcess.SubSequence subSequence) { string text = ""; switch (subSequence) { case CollectionProcess.SubSequence.Title: text = CommonMessageID.Scroll_Collection_Title.GetName(); break; case CollectionProcess.SubSequence.Icon: text = CommonMessageID.Scroll_Collection_Icon.GetName(); break; case CollectionProcess.SubSequence.NamePlate: text = CommonMessageID.Scroll_Collection_Nameplate.GetName(); break; case CollectionProcess.SubSequence.Frame: text = CommonMessageID.Scroll_Collection_Frame.GetName(); break; case CollectionProcess.SubSequence.Prtner: text = CommonMessageID.Scroll_Collection_Partner.GetName(); break; case CollectionProcess.SubSequence.Shop: text = CommonMessageID.Scroll_Collection_Shop.GetName(); break; } this.SetScrollMessage(text); } // Token: 0x06000368 RID: 872 RVA: 0x0000D925 File Offset: 0x0000CB25 private void SetScrollMessage(string message) { this._selectorBgController.SetScrollMessage(message); } // Token: 0x06000369 RID: 873 RVA: 0x0000D933 File Offset: 0x0000CB33 private void UpdateScroll() { this._selectorBgController.UpdateScroll(); } // Token: 0x0600036A RID: 874 RVA: 0x0000D940 File Offset: 0x0000CB40 private void SetVisibleTitleImage(bool isActive) { this._titleImage.color = (isActive ? Color.white : Color.clear); } // Token: 0x0600036B RID: 875 RVA: 0x0000D95C File Offset: 0x0000CB5C private void SetTitleAndInfoImage(CollectionMonitor.TitleTable title) { this._titleImage.ChangeSprite((int)title); this._customInfoImage.ChangeSprite((int)title); } // Token: 0x0600036C RID: 876 RVA: 0x0000D976 File Offset: 0x0000CB76 public void SetVisibleExitImage(bool isActive) { this._exitInfo.color = (isActive ? Color.white : Color.clear); } // Token: 0x0600036D RID: 877 RVA: 0x0000D992 File Offset: 0x0000CB92 public void SetPresentTargetVisable(bool visable) { this._partnerRoom.SetPresentTargetVisable(visable); } // Token: 0x0600036E RID: 878 RVA: 0x0000D9A0 File Offset: 0x0000CBA0 public void SetPresentTargetNum(int num) { this._partnerRoom.SetPresentTargetNum(num); } // Token: 0x0600036F RID: 879 RVA: 0x0000D9AE File Offset: 0x0000CBAE public ShopPartnerGetWindow GetShopPartnerGetWindow() { return this.shopPartnerGetWindow; } // Token: 0x06000370 RID: 880 RVA: 0x0000D9B6 File Offset: 0x0000CBB6 public ShopSetPartnerDialog GetShopSetPartnerDialog() { return this.shopSetPartnerDialog; } // Token: 0x04000206 RID: 518 private Color[] _selectorBaseColors; // Token: 0x04000207 RID: 519 [Space] [SerializeField] private CollectionButtonController _buttonController; // Token: 0x04000208 RID: 520 [Space] [SerializeField] private CollectionInfoButtonController _buttonInfoController; // Token: 0x04000209 RID: 521 [SerializeField] [Header("ChainLists")] private CollectionChainList _collectionChainList; // Token: 0x0400020A RID: 522 [Space] [SerializeField] private GameObject _colletionAcquitionPlateObj; // Token: 0x0400020B RID: 523 [SerializeField] private Transform _collectionAcquitionParent; // Token: 0x0400020C RID: 524 [SerializeField] private GameObject _maiMaileAcquisitionPlateObj; // Token: 0x0400020D RID: 525 [SerializeField] private Transform _maiMaileAcquisitionParent; // Token: 0x0400020E RID: 526 [SerializeField] private CollectionTabController _collectionTabController; // Token: 0x0400020F RID: 527 [SerializeField] private MultipleImage _titleImage; // Token: 0x04000210 RID: 528 [SerializeField] private Animator _customInfoAnimController; // Token: 0x04000211 RID: 529 [SerializeField] private MultipleImage _customInfoImage; // Token: 0x04000212 RID: 530 [SerializeField] private Transform _selectorBackgroundObjectTargetParent; // Token: 0x04000213 RID: 531 [SerializeField] private GameObject _originalSelectorBackgroundObject; // Token: 0x04000214 RID: 532 [SerializeField] private CanvasGroup _blur; // Token: 0x04000215 RID: 533 [SerializeField] private Image _exitInfo; // Token: 0x04000216 RID: 534 [SerializeField] private GameObject _partnerRoomObj; // Token: 0x04000217 RID: 535 [SerializeField] private Transform _partnerRoomParent; // Token: 0x04000218 RID: 536 [SerializeField] private ShopPartnerGetWindow shopPartnerGetWindow; // Token: 0x04000219 RID: 537 [SerializeField] private ShopSetPartnerDialog shopSetPartnerDialog; // Token: 0x0400021A RID: 538 private PartnerRoom _partnerRoom; // Token: 0x0400021B RID: 539 private CollectionAcquitionPlate _collectionAcquitionPlate; // Token: 0x0400021C RID: 540 private MaiMaileAcquisitionPlate _maiMaileAcquisitionPlate; // Token: 0x0400021D RID: 541 private ICollectionProcess _process; // Token: 0x0400021E RID: 542 private AssetManager _assetManager; // Token: 0x0400021F RID: 543 private CollectionProcess.SubSequence _prevSubSequence; // Token: 0x04000220 RID: 544 private SelectorBackgroundController _selectorBgController; // Token: 0x04000221 RID: 545 private const string _invokeFirstInfoName = "DisplayInfoButton"; // Token: 0x04000222 RID: 546 private float _syncTimer; // Token: 0x04000223 RID: 547 private bool _isAnimation; // Token: 0x04000224 RID: 548 private bool _isStartSlideIn; // Token: 0x04000225 RID: 549 private float _duration; // Token: 0x04000226 RID: 550 private CollectionListAnimationController.AnimationType _animationType; // Token: 0x04000227 RID: 551 public CollectionGenreID _initGenreID = CollectionGenreID.Invalid; // Token: 0x04000229 RID: 553 public bool playingRewardAnim; // Token: 0x0400022A RID: 554 public int rewardCounter; // Token: 0x02000967 RID: 2407 public enum TitleTable { // Token: 0x04005FA2 RID: 24482 Collection, // Token: 0x04005FA3 RID: 24483 Shop, // Token: 0x04005FA4 RID: 24484 Partner } }