ActShopPushCtrl.cs 416 B

12345678910111213141516
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActShopPushCtrl : MsgController<ActShopPush>
  6. {
  7. protected override void OnProcess(ActShopPush 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. }