Table of Contents

Class ShardedShopState

Namespace
Nekoyume.Model.State
Assembly
Lib9c.dll
public class ShardedShopState : State, IState
Inheritance
ShardedShopState
Implements
Inherited Members

Constructors

ShardedShopState(Dictionary)

public ShardedShopState(Dictionary serialized)

Parameters

serialized Dictionary

ShardedShopState(Address)

public ShardedShopState(Address address)

Parameters

address Address

Fields

AddressKeys

public static readonly IReadOnlyList<string> AddressKeys

Field Value

IReadOnlyList<string>

Products

public readonly Dictionary<Guid, ShopItem> Products

Field Value

Dictionary<Guid, ShopItem>

Methods

DeriveAddress(ItemSubType, Guid)

public static Address DeriveAddress(ItemSubType itemSubType, Guid productId)

Parameters

itemSubType ItemSubType
productId Guid

Returns

Address

DeriveAddress(ItemSubType, string)

public static Address DeriveAddress(ItemSubType itemSubType, string nonce)

Parameters

itemSubType ItemSubType
nonce string

Returns

Address

Register(ShopItem)

public void Register(ShopItem shopItem)

Parameters

shopItem ShopItem

Serialize()

public override IValue Serialize()

Returns

IValue