Class OfferBanEntry

Namespace
SurvivorsMaker.Data
Assembly
SurvivorsMaker.Data.dll

Asset references are resolved through the same definition caches as the content catalog.

public sealed class OfferBanEntry
Inheritance
OfferBanEntry
Inherited Members

Constructors

OfferBanEntry()

public OfferBanEntry()

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

EndWave

Last matching one-based wave, inclusive; the maximum integer leaves the end unrestricted.

[Tooltip("Last matching one-based wave, inclusive; the maximum integer leaves the end unrestricted.")]
public int EndWave

Field Value

int

Groups

Ban candidates matching any listed pool group.

[Tooltip("Ban candidates matching any listed pool group.")]
public List<string> Groups

Field Value

List<string>

Items

Explicit item or upgrade bans resolved through the content cache.

[Tooltip("Explicit item or upgrade bans resolved through the content cache.")]
public List<ItemAsset> Items

Field Value

List<ItemAsset>

StartWave

First matching one-based wave, inclusive; 0 also includes the first wave.

[Tooltip("First matching one-based wave, inclusive; 0 also includes the first wave.")]
public int StartWave

Field Value

int

Tags

Ban candidates matching any listed tag. Empty = no tag filter.

[Tooltip("Ban candidates matching any listed tag. Empty = no tag filter.")]
public List<string> Tags

Field Value

List<string>

Weapons

Explicit weapon bans resolved through the content cache.

[Tooltip("Explicit weapon bans resolved through the content cache.")]
public List<WeaponAsset> Weapons

Field Value

List<WeaponAsset>

Methods

ToDef()

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

public OfferBanRule ToDef()

Returns

OfferBanRule