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

OfferChannel

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

int

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

int

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

bool

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

ItemAsset

Kind

Candidate category reserved by this guarantee.

[Tooltip("Candidate category reserved by this guarantee.")]
public OfferKind Kind

Field Value

OfferKind

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

GuaranteeLifetime

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

int

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

int

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

int

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

List<string>

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

int

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

WeaponAsset

Methods

ToDef()

Converts this authoring entry to a runtime definition, resolving asset references through their caches.

public OfferGuaranteeRule ToDef()

Returns

OfferGuaranteeRule