public void Button_LansShow(int lansIndex)
        {
            showPlane(TYPE_LANS, lansIndex, m_pLocal.GetChairID());

            //mChen
            CMD_GF_C_UserChatIdx UserChat = new CMD_GF_C_UserChatIdx();

            UserChat.wItemIndex  = (ushort)lansIndex;
            UserChat.wSendUserID = m_pLocal.GetChairID();
            var buf = StructConverterByteArray.StructToBytes(UserChat);

            CServerItem.get()
            .SendSocketData(GameServerDefines.MDM_GF_FRAME, GameServerDefines.SUB_GF_USER_CHAT_INDEX, buf,
                            (ushort)buf.Length);
        }
        public override bool OnSubUserChatIndex(byte[] data, int dataSize)
        {
            var typeValue = typeof(CMD_GF_C_UserChatIdx);

            if (dataSize != Marshal.SizeOf(typeValue))
            {
                return(false);
            }

            //消息处理
            CMD_GF_C_UserChatIdx pUserChatIdx =
                (CMD_GF_C_UserChatIdx)StructConverterByteArray.BytesToStruct(data, typeValue);
            ushort localChairId = m_pLocal.GetChairID();

            if (pUserChatIdx.wSendUserID != localChairId)
            {
                showPlane(TYPE_LANS, pUserChatIdx.wItemIndex, pUserChatIdx.wSendUserID);
            }

            return(true);
        }