NinetyEight.NEShopPack

Struct NEShopPack

Namespace: NinetyEight Assembly: APIReference.dll

Represents a bundle of shop items available for purchase. A pack includes multiple items and a pricing configuration.

[Serializable]
public struct NEShopPack

Inherited Members

object.Equals(object?)arrow-up-right, object.Equals(object?, object?)arrow-up-right, object.GetHashCode()arrow-up-right, object.GetType()arrow-up-right, object.ReferenceEquals(object?, object?)arrow-up-right, object.ToString()arrow-up-right

Fields

code

A unique code identifying the shop pack.

public string code

Field Value

stringarrow-up-right

id

A unique identifier for the shop pack.

Field Value

intarrow-up-right

items

An array of items that are included in the pack.

Field Value

NEShopItem[]

name

The name of the shop pack.

Field Value

stringarrow-up-right

priceConfig

Defines the pricing of the pack, where keys are currency types and values are prices.

Field Value

Dictionary<string, float>

purchaseLimit

The maximum number of times this pack can be purchased, or null for unlimited purchases.

Field Value

intarrow-up-right

type

The type of the pack, e.g., "limited", "special".

Field Value

stringarrow-up-right

Last updated