コード例 #1
0
        public override void OnPointerClick(PointerEventData eventData)
        {
            base.OnPointerClick(eventData);

            SNSSelectSessionMsgData msgData = new SNSSelectSessionMsgData();

            msgData.msgID    = (int)WndMsgID.WND_MSG_SNS_SELECT_SESSION;
            msgData.dwUserID = item.UserID;
            UISystem.Instance.SendWndMessage(WndMsgID.WND_MSG_SNS_SELECT_SESSION, msgData);
        }
コード例 #2
0
ファイル: SNSChatWndView.cs プロジェクト: zwong91/Titan
        public void onSelectSession(SNSSelectSessionMsgData msgData)
        {
            if (msgData.dwUserID == 0)
            {
                Debug.LogWarning("onSelectSession,msgData.dwUserID == 0");
                return;
            }

            m_CurSessionID = msgData.dwUserID;

            onUpdateView();
        }