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?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Fields

code

A unique code identifying the shop pack.

public string code

Field Value

string

id

A unique identifier for the shop pack.

public int id

Field Value

int

items

An array of items that are included in the pack.

public NEShopItem[] items

Field Value

NEShopItem[]

name

The name of the shop pack.

public string name

Field Value

string

priceConfig

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

public Dictionary<string, float> priceConfig

Field Value

Dictionary<string, float>

purchaseLimit

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

public int purchaseLimit

Field Value

int

type

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

public string type

Field Value

string

Last updated