using FL.Data; using XGame.Framework.Network; namespace FL.Network { public class ActShopGoodsPushCtrl : MsgController { protected override void OnProcess(ActShopGoodsPush message, object context) { for (int i = 0; i < message.goods.Count; i++) { ShopData.Instance.goodsInfo[message.goods[i].id] = message.goods[i]; } } } }