ActShopGoodsPushCtrl.cs 431 B

12345678910111213141516
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActShopGoodsPushCtrl : MsgController<ActShopGoodsPush>
  6. {
  7. protected override void OnProcess(ActShopGoodsPush message, object context)
  8. {
  9. for (int i = 0; i < message.goods.Count; i++)
  10. {
  11. ShopData.Instance.goodsInfo[message.goods[i].id] = message.goods[i];
  12. }
  13. }
  14. }
  15. }