QufuListPushCtrl.cs 543 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. using XGame.Framework;
  3. using XGame.Framework.Network;
  4. namespace FL.Network
  5. {
  6. public class QufuListPushCtrl : MsgController<QufuListPush>
  7. {
  8. protected override void OnProcess(QufuListPush message, object context)
  9. {
  10. Assert.IsTrue(message.qufu_list != null && message.qufu_list.Count > 0, "Çø·þÁÐ±í²»ÄÜΪ¿Õ.");
  11. var qufuInfos = new List<QufuInfo>(message.qufu_list);
  12. EventSingle.Instance.Notify(EventDefine.LoginQufuInfos, qufuInfos);
  13. }
  14. }
  15. }