123456789101112131415161718192021222324 |
- using XGame.Database;
- using XGame.Framework.Network;
- namespace FL.Network
- {
- /// <summary>
- /// 返回主动请求穿在身上的装备列表数据
- /// </summary>
- public class ActEquipPushCtrl : MsgController<ActEquipPush>
- {
- protected override void OnProcess(ActEquipPush message, object context)
- {
- if (message == null) return;
- EquipData.Instance.ClearWearEquip();
- foreach (var item in message.chuan)
- {
- if (item != null)
- {
- EquipData.Instance.AddWearEquip((EEquipType)item.buwei, EquipData.Instance.GetNewWearEquipData(item));
- }
- }
- }
- }
- }
|