| | |
| | | GuildManager.Instance.MyRequestJoinEvent += MyRequestJoinEvent; |
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyInfo += OnRefreshFairyInfo; |
| | | guildListScroller.OnRefreshCell += RefreshCell; |
| | | GuildManager.Instance.OnUpdateViewFamilyInfo += OnUpdateViewFamilyInfo; |
| | | Display(); |
| | | } |
| | | |
| | |
| | | GuildManager.Instance.MyRequestJoinEvent -= MyRequestJoinEvent; |
| | | guildListScroller.OnRefreshCell -= RefreshCell; |
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyInfo -= OnRefreshFairyInfo; |
| | | GuildManager.Instance.OnUpdateViewFamilyInfo -= OnUpdateViewFamilyInfo; |
| | | |
| | | UIManager.Instance.GetUI<MainWin>()?.RestoreFuncBtn(); |
| | | |
| | |
| | | _cell.Display(cell.index); |
| | | } |
| | | |
| | | void OnUpdateViewFamilyInfo(int familyID) |
| | | { |
| | | UIManager.Instance.OpenWindowAsync<GuildPreviewWin>(familyID).Forget(); |
| | | } |
| | | |
| | | private void OnFindBtnClick() |
| | | { |
| | | var nowQuery = findText.text; |