| | |
| | | using System.Collections.Generic; |
| | | using Cysharp.Threading.Tasks; |
| | | using UnityEngine; |
| | | |
| | | public class GuildRankWin : UIBase |
| | |
| | | { |
| | | manager.OnRefreshFairyList += OnRefreshFairyList; |
| | | scroller.OnRefreshCell += OnRefreshCell; |
| | | GuildManager.Instance.OnUpdateViewFamilyInfo += OnUpdateViewFamilyInfo; |
| | | |
| | | manager.SendFindGuild(string.Empty, 0, manager.pageCnt); |
| | | manager.ResetQueryParam(); |
| | |
| | | { |
| | | manager.OnRefreshFairyList -= OnRefreshFairyList; |
| | | scroller.OnRefreshCell -= OnRefreshCell; |
| | | GuildManager.Instance.OnUpdateViewFamilyInfo -= OnUpdateViewFamilyInfo; |
| | | } |
| | | |
| | | void OnUpdateViewFamilyInfo(int familyID) |
| | | { |
| | | UIManager.Instance.OpenWindowAsync<GuildPreviewWin>(familyID).Forget(); |
| | | } |
| | | |
| | | public void Display() |