private void WeiChatFriendClicked(bool isOn) { weiChatFriendsToggle.interactable = !isOn; screenStatus = FriendScreenStatus.ShowWeiChatFriendList; SwitchPanle(); DebugUtils.Log(DebugUtils.Type.UI, "WeiChatFriends toggle is clicked."); }
private void GameFriendClicked(bool isOn) { friendsToggle.interactable = !isOn; screenStatus = FriendScreenStatus.ShowFriendList; SwitchPanle(); if (isOn) { friendController.SendRelationList(FriendController.PlayerListType.Friend); } DebugUtils.Log(DebugUtils.Type.UI_SocialScreen, "GameFriend toggle is clicked."); }
private void ApplicationInfomationClicked(bool isOn) { applicationInformationToggle.interactable = !isOn; screenStatus = FriendScreenStatus.ShowApplicationInfomation; SwitchPanle(); if (isOn) { friendController.SendRelationList(FriendController.PlayerListType.Appliation); } RefreshApplicationInfomationPlayerList(); DebugUtils.Log(DebugUtils.Type.UI_SocialScreen, "ApplicaitonInfomation toggle is clicked."); }
private void FindFriendClicked(bool isOn) { searchFriendInput.text = ""; findFrindsToggle.interactable = !isOn; screenStatus = FriendScreenStatus.ShowFindFriend; SwitchPanle(); if (isOn) { findFriendNoticeTitleText.text = recommendFridens; friendController.SendRecommendPlayer(); } DebugUtils.Log(DebugUtils.Type.UI_SocialScreen, "FindFriend toggle is clicked."); }
private void BlackListClicked(bool isOn) { blackListToggle.interactable = !isOn; screenStatus = FriendScreenStatus.ShowBlaickList; SwitchPanle(); if (isOn) { friendController.SendRelationList(FriendController.PlayerListType.Black); } DebugUtils.Log(DebugUtils.Type.UI, "BlackList toggle is clicked."); }