public void FastReplySubmit(int nItemClickIndex) { string text = ""; text = m_FastReplyItemList[nItemClickIndex].ItemStrContent; if (!string.IsNullOrEmpty(text)) { if (text.Length > 3 && PlatformHelper.IsEnableGM() && text.Substring(0, 2) == GameDefines.GMCMD_BEGINORDER) { Utils.SendGMCommand(text.Substring(2, text.Length - 2)); } else { text = Utils.StrFilter_Chat(text); if (m_CurReplyMode == CUR_REPLYMODE.FAST_REPLY) { ChatHistoryItem item = new ChatHistoryItem(); item.CleanUp(); Utils.SendCGChatPak(text, item); } else { List <ChatHistoryItem> listPlayerReplyHistory = GameManager.gameManager.PlayerDataPool.ChatHistory.ReplyHistoryList; Utils.SendCGChatPak(text, listPlayerReplyHistory[listPlayerReplyHistory.Count - 1 - nItemClickIndex]); } } } m_ChatInfoLogic.RecoverFastReply(); }