Interface ITierRollPolicy
- Namespace
- SurvivorsMaker.Run
- Assembly
- SurvivorsMaker.Run.dll
Extension point for deterministic tier draws using the supplied random stream and scratch list.
public interface ITierRollPolicy
Methods
Roll(TierTable, int, float, OfferPoolSettings, SimRandom, List<float>)
Draws a tier from progression and luck using the supplied random stream; reuse scratch instead of allocating in the draw path.
int Roll(TierTable tiers, int progress, float luck, OfferPoolSettings settings, SimRandom random, List<float> scratch)
Parameters
tiersTierTableprogressintluckfloatsettingsOfferPoolSettingsrandomSimRandomscratchList<float>