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 { 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)); } } } } }