public bool NeedNoticeType(AwakeType rAwakeType) { var key = new NoticeDefaultKey(NoticeType.AwakeHeart + (int)rAwakeType - 1); moduleNotice.SetNoticeState(key, CanAwake(rAwakeType)); return(moduleNotice.IsNeedNotice(key)); }
protected override void OnHide(bool forward) { base.OnHide(forward); _petProcessInfo.UnInitialize(); var key = new NoticeDefaultKey(NoticeType.Pet); moduleNotice.SetNoticeState(key, modulePet.NeedNoticeSimple); moduleNotice.SetNoticeReadState(key); }
protected override void OnReturn() { if (successWindow.OnReturn()) { return; } var key = new NoticeDefaultKey(NoticeType.Soul); moduleNotice.SetNoticeState(key, moduleEquip.CheckSoulSprite(moduleFurnace.currentSoulItem)); moduleNotice.SetNoticeReadState(key); base.OnReturn(); }
protected override void OnReturn() { moduleGlobal.targetMatrial?.Clear(); if (successWindow.OnReturn()) { rawImage.SafeSetActive(true); if (!moduleFurnace.IsSublimationMax(moduleFurnace.currentSublimationItem)) { return; } } var key = new NoticeDefaultKey(NoticeType.Sublimation); moduleNotice.SetNoticeState(key, moduleEquip.CheckSublimation(moduleFurnace.currentSublimationItem)); moduleNotice.SetNoticeReadState(key); base.OnReturn(); }
protected override void OnReturn() { var key1 = new NoticeDefaultKey(NoticeType.AwakeAccompany); var key2 = new NoticeDefaultKey(NoticeType.AwakeEnergy); var key3 = new NoticeDefaultKey(NoticeType.AwakeHeart); var key4 = new NoticeDefaultKey(NoticeType.AwakeSkill); moduleNotice.SetNoticeState(key1, moduleAwake.CanAwake(AwakeType.Accompany)); moduleNotice.SetNoticeState(key2, moduleAwake.CanAwake(AwakeType.Energy)); moduleNotice.SetNoticeState(key3, moduleAwake.CanAwake(AwakeType.Heart)); moduleNotice.SetNoticeState(key4, moduleAwake.CanAwake(AwakeType.Skill)); moduleNotice.SetNoticeReadState(key1); moduleNotice.SetNoticeReadState(key2); moduleNotice.SetNoticeReadState(key3); moduleNotice.SetNoticeReadState(key4); base.OnReturn(); }