using System.Collections.Generic; using XGame.Framework.Network; namespace FL.Network { public class ActEquipLsDelxhidsPushCtrl : MsgController { protected override void OnProcess(ActEquipLsDelxhidsPush message, object context) { //XGame.Log.Debug("消息201502 ActEquipLsDelxhidsPushCtrl"); // 移除装备背包里的装备,穿戴移除只又在身上装备栏空的时候才会下发该消息 foreach (var delId in message.delxhids) { EquipData.Instance.RemoveEquip(delId, true); } EventSingle.Instance.Notify(EventDefine.RemoveTemporaryEquip, message.delxhids); } } }