Example #1
0
 private void OnEnable()
 {
     MtaManager.TrackBeginPage(MtaType.FriendListWindow);
     scFriendLoadingAll = FriendModelLocator.Instance.ScFriendLoadingAll;
     Refresh(scFriendLoadingAll.FriendList);
     WindowManager.Instance.GetWindow<UIFriendEntryWindow>().RefreshFriendCount();
     MenuLis.onClick += OnMenu;
     play = true;
 }
Example #2
0
 private void OnEnable()
 {
     MtaManager.TrackBeginPage(MtaType.SortFriendWindow);
     scFriendLoadingAll = FriendModelLocator.Instance.ScFriendLoadingAll;
     friendInfos = new List<FriendInfo>(scFriendLoadingAll.FriendList);
     myself = scFriendLoadingAll.Myself;
     friendInfos.Add(scFriendLoadingAll.Myself);
     SortLabel.text = LanguageManager.Instance.GetTextValue(FriendUtils.SortNameKeys[(int)orderType]);
     Refresh(friendInfos);
     SortLis.onClick = OnSort;
 }