using UnityEngine; using UnityEngine.UI; using System; using System.Collections; using System.Collections.Generic; using Games.ChatHistory; using GCGame.Table; using Games.GlobeDefine; using GCGame; using Module.Log; using Games.Item; public class ChatInfoLogItemHelper : ChatInfoLogItem { public GameObject _SharePanel; public void OnBtnOk() { ChatHelperRoot.Instance().OnQSolved(ChatHistory, true); GUIData.AddNotifyData("#{84901}"); } public void OnBtnError() { ChatHelperRoot.Instance().OnQSolved(ChatHistory, false); GUIData.AddNotifyData("#{84902}"); } public void OnBtnShare() { _SharePanel.SetActive(true); } public void OnBtnShareHide() { _SharePanel.SetActive(false); } public void OnBtnShareTo(int chatType) { ChatHelperRoot.Instance().OnShareHelper(chatType, ChatHistory); OnBtnShareHide(); } }