MailListPushCtrl.cs 486 B

1234567891011121314151617
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class MailListPushCtrl : MsgController<MailListPush>
  6. {
  7. protected override void OnProcess(MailListPush message, object context)
  8. {
  9. for (int i = 0; i < message.mail_list.Count; i++)
  10. {
  11. //int mailId = message.mail_list[i].id;
  12. MailData.Instance.mailInfo[message.mail_list[i].id] = message.mail_list[i];
  13. }
  14. }
  15. }
  16. }