Interface IAcquisitionValidator
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
Shared, read-only eligibility and capacity checks for offers, purchases and upgrade choices.
public interface IAcquisitionValidator
Methods
Check(RunState, OfferCandidate, OfferChannel, bool, IReadOnlyList<OfferCandidate>, out AcquisitionPlan)
Checks channel eligibility, bans, ownership and capacity without changing the run; returns a destination plan when valid.
OfferFailure Check(RunState run, OfferCandidate candidate, OfferChannel channel, bool generating, IReadOnlyList<OfferCandidate> reservations, out AcquisitionPlan plan)
Parameters
runRunStatecandidateOfferCandidatechannelOfferChannelgeneratingboolreservationsIReadOnlyList<OfferCandidate>planAcquisitionPlan
Returns
CheckMerge(RunState, int, int, out AcquisitionPlan)
Validates two owned weapon indices and their merge destination without changing inventory.
RunResult CheckMerge(RunState run, int first, int second, out AcquisitionPlan plan)
Parameters
runRunStatefirstintsecondintplanAcquisitionPlan