Пример #1
0
        /// <summary>
        /// 空间动态内线
        /// </summary>
        /// <returns></returns>
        public static string GetZoonActionStr()
        {
            var roomidArr = new int[] { 90, 95, 99, 100, 101, 110 };
            int roomid    = roomidArr[CTools.GetRandom(0, roomidArr.Length)];

            var baseWord = new List <string>()
            {
                "在" + "(url=" + HostName + roomid + ")" + "虫虫农场" + "(/url),玩投资种菜领取了收益",
            };

            return(baseWord[CTools.GetRandom(0, baseWord.Count)]);
        }
Пример #2
0
        /// <summary>
        /// 分享内线
        /// </summary>
        /// <param name="shareid"></param>
        /// <returns></returns>
        public static string GetShareMsg(int shareid)
        {
            var           roomidArr = new int[] { 90, 95, 99, 100, 101, 110 };
            int           roomid    = roomidArr[CTools.GetRandom(0, roomidArr.Length)];
            string        code      = UDes.Encode("shareid=" + shareid);
            List <string> baseWord  = new List <string>()
            {
                string.Format("我在虫虫农场发现个好东西,(url={0}{1}&code={2})赶快过来你就知道了~(/url)", HostName, roomid, code),
                string.Format("一个人在这玩好寂寞,过来陪我一块玩嘛,(url={0}{1}&code={2})我在这等你!(/url)", HostName, roomid, code),
            };

            return(baseWord[CTools.GetRandom(0, baseWord.Count)]);
        }