Class OfferGuaranteeEntry
- Namespace
- SurvivorsMaker.Data
- Assembly
- SurvivorsMaker.Data.dll
Asset-backed candidate guarantee with channel, tier, progress and lifetime filters.
public sealed class OfferGuaranteeEntry
- Inheritance
-
OfferGuaranteeEntry
- Inherited Members
Constructors
OfferGuaranteeEntry()
public OfferGuaranteeEntry()
Fields
Channels
Offer channels this rule affects; None means no matching channels.
[Tooltip("Offer channels this rule affects; None means no matching channels.")]
public OfferChannel Channels
Field Value
EndProgress
Last matching wave or level, inclusive; maximum integer means no upper cutoff.
[Tooltip("Last matching wave or level, inclusive; maximum integer means no upper cutoff.")]
public int EndProgress
Field Value
FixedTier
Required zero-based tier when Has Fixed Tier is on.
[Tooltip("Required zero-based tier when Has Fixed Tier is on.")]
public int FixedTier
Field Value
HasFixedTier
Require Fixed Tier instead of rolling a tier for this guarantee.
[Tooltip("Require Fixed Tier instead of rolling a tier for this guarantee.")]
public bool HasFixedTier
Field Value
Item
Optional exact item/upgrade to guarantee; empty permits a candidate search.
[Tooltip("Optional exact item/upgrade to guarantee; empty permits a candidate search.")]
public ItemAsset Item
Field Value
Kind
Candidate category reserved by this guarantee.
[Tooltip("Candidate category reserved by this guarantee.")]
public OfferKind Kind
Field Value
Lifetime
How often this guarantee reserves slots: each window, once per wave, or once per run.
[Tooltip("How often this guarantee reserves slots: each window, once per wave, or once per run.")]
public GuaranteeLifetime Lifetime
Field Value
MinTier
Lowest eligible zero-based tier; 0 allows the lowest tier.
[Tooltip("Lowest eligible zero-based tier; 0 allows the lowest tier.")]
public int MinTier
Field Value
MinimumCount
Minimum matching offers requested for this window; 0 guarantees none.
[Tooltip("Minimum matching offers requested for this window; 0 guarantees none.")]
public int MinimumCount
Field Value
Priority
Higher values reserve guarantee slots first; equal priorities keep authored order.
[Tooltip("Higher values reserve guarantee slots first; equal priorities keep authored order.")]
public int Priority
Field Value
RequiredTags
Every listed tag must be present on a guaranteed candidate. Empty = no tag filter.
[Tooltip("Every listed tag must be present on a guaranteed candidate. Empty = no tag filter.")]
public List<string> RequiredTags
Field Value
StartProgress
First matching wave or level, inclusive; interpretation follows the offer channel.
[Tooltip("First matching wave or level, inclusive; interpretation follows the offer channel.")]
public int StartProgress
Field Value
Weapon
Optional exact weapon to guarantee; empty permits a candidate search.
[Tooltip("Optional exact weapon to guarantee; empty permits a candidate search.")]
public WeaponAsset Weapon
Field Value
Methods
ToDef()
Converts this authoring entry to a runtime definition, resolving asset references through their caches.
public OfferGuaranteeRule ToDef()