using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class ActItemPushCtrl : MsgController { protected override void OnProcess(ActItemPush message, object context) { foreach (var item in message.act_item) { ItemData.Instance.AddItemData(item.id, item.count); } EventSingle.Instance.Notify(EventDefine.UpdataItemData,message.act_item); } } }