public bool Validate(SwapPrimaryInputData data)
 {
     return(ValidateEntityTwoHanded(data.SlotTo, data.EntitySource) &&
            ValidateEntityOneHanded(data.SlotTo, data.EntitySource) &&
            ValidateEntityTwoHanded(data.SlotFrom, data.EntityTarget) &&
            ValidateEntityOneHanded(data.SlotFrom, data.EntityTarget));
 }
 public bool Validate(SwapPrimaryInputData data) =>
 ValidateStatsRequired(data.ToInventory, data.EntitySource) &&
 ValidateStatsRequired(data.FromInventory, data.EntityTarget);
 public void Process(FilterDummyTwoHanded filter, SwapPrimaryInputData data) => ProcessResponse(data);
 public void Process(FilterDummyDamnedItem filter, SwapPrimaryInputData data) => ProcessResponse(filter, data);
Exemple #5
0
 public bool Validate(SwapPrimaryInputData data)
 {
     return(OnlyForIsHotBarItem(data.ToInventory, data.EntitySource) &&
            NoMoveFromInventory(data.FromInventory, data.ToInventory) &&
            NoMoveInHotBarIfHaveSameId(data.FromInventory, data.ToInventory, data.EntitySource));
 }
Exemple #6
0
 public bool Validate(SwapPrimaryInputData data)
 {
     return(MoveOnlyIntoGroup(data));
 }
 public bool Validate(SwapPrimaryInputData data) => ValidateDamned(data);
Exemple #8
0
 public void Process(FilterDummyBodyPart filter, SwapPrimaryInputData data) => ProcessResponse(data);
Exemple #9
0
 public bool Validate(SwapPrimaryInputData data) => !(data.ToInventory == _dummy.DataInventory && data.EntitySource.Amount > 1);
 public bool Validate(SwapPrimaryInputData data) =>
 ValidateBodyPart(data.ToInventory, data.EntitySource, data.SlotTo) &&
 ValidateBodyPart(data.FromInventory, data.EntityTarget, data.SlotNewPositionEntityTarget);