/// <summary> /// 通知所有在线玩家,如公告信息 /// </summary> /// <returns></returns> public string DealGM(cs_gm_chesscard _user) { //处理公告 sc_getnotice_n _getnotice = new sc_getnotice_n() { result = 1, fn = "_getnotice", noticelist = new List <string>() }; _getnotice.noticelist.Add("玩家1524879,获得了以排行榜一等级奖!"); BaseSendDataServer.AutoNotifySendData(JsonUtils.Serialize((_getnotice))); sc_base _senddata = new sc_base() { result = 1, fn = "sc_base" }; return(JsonUtils.Serialize(_senddata)); }