using System.Collections.Generic; using XGame.Framework; using XGame.Framework.Network; namespace FL.Network { public class QufuListPushCtrl : MsgController { protected override void OnProcess(QufuListPush message, object context) { Assert.IsTrue(message.qufu_list != null && message.qufu_list.Count > 0, "区服列表不能为空."); var qufuInfos = new List(message.qufu_list); EventSingle.Instance.Notify(EventDefine.LoginQufuInfos, qufuInfos); } } }