Class OfferPool
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
Stable content order, finite fallback, and the legacy category/tier/selection random contract.
public sealed class OfferPool : IOfferPool
- Inheritance
-
OfferPool
- Implements
- Inherited Members
Constructors
OfferPool(IAcquisitionValidator, ITierRollPolicy, IInventoryRules)
public OfferPool(IAcquisitionValidator validator = null, ITierRollPolicy tiers = null, IInventoryRules inventory = null)
Parameters
validatorIAcquisitionValidatortiersITierRollPolicyinventoryIInventoryRules
Methods
Generate(OfferPoolRequest, bool)
Generates ordered offers using run.Random; preview evaluates on copied roll state and preserves the caller random and guarantee state.
public OfferPoolResult Generate(OfferPoolRequest request, bool preview = false)
Parameters
requestOfferPoolRequestpreviewbool