123456789101112131415161718192021222324252627 |
- using FL.Data;
- using FL.Data.Items;
- using System.Collections.Generic;
- using UnityEngine;
- using XGame.Database;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- public class ActEquipLsPushCtrl : MsgController<ActEquipLsPush>
- {
- protected override void OnProcess(ActEquipLsPush message, object context)
- {
- // 装备背包数据
- EquipData.Instance.ClearEquipBag();
- if (message == null || message?.list.Count == 0) return;
- foreach (var item in message.list)
- {
- if (item != null)
- {
- EquipData.Instance.AddEquip(EquipData.Instance.GetDropEquipData(item));
- }
- }
- }
- }
- }
|