1234567891011121314151617 |
- using FL.Data;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActItemPushCtrl : MsgController<ActItemPush>
- {
- 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);
- }
- }
- }
|