using System.Collections.Generic; using System.Security.Cryptography; using FL.Network; using XGame; using XGame.Database; using XGame.Framework.Data; using XGame.Framework.Network; namespace FL.Data { public class MailService : DataSingleton { #region 新接口 //进入邮件系统 public void RequestMailInto() { var param = new MailIntoRequest() { }; NetModule.Request(param); } //删除已读 public void RequestMailDelAll() { var param = new MailDelAllRequest() { }; NetModule.Request(param); } //一键已读 public void RequestMailReadAll() { var param = new MailRedAllRequest() { }; NetModule.Request(param); } //全部领取 public void RequestMailRwdAll() { var param = new MailRwdAllRequest() { }; NetModule.Request(param); } //删除单封邮件 public void RequestMailDel(string hdcid) { var param = new MailDelRequest() { hdcid = hdcid }; NetModule.Request(param); } //领取单封邮件 public void RequestMailRwd(string hdcid) { var param = new MailRwdRequest() { hdcid = hdcid }; NetModule.Request(param); } #endregion } }