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); }
public void onSelectSession(SNSSelectSessionMsgData msgData) { if (msgData.dwUserID == 0) { Debug.LogWarning("onSelectSession,msgData.dwUserID == 0"); return; } m_CurSessionID = msgData.dwUserID; onUpdateView(); }