コード例 #1
0
        private void WeiChatFriendClicked(bool isOn)
        {
            weiChatFriendsToggle.interactable = !isOn;
            screenStatus = FriendScreenStatus.ShowWeiChatFriendList;
            SwitchPanle();

            DebugUtils.Log(DebugUtils.Type.UI, "WeiChatFriends toggle is clicked.");
        }
コード例 #2
0
 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.");
 }
コード例 #3
0
        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.");
        }
コード例 #4
0
 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.");
 }
コード例 #5
0
        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.");
        }