Show / Hide Table of Contents

Interface IWorldDelta

Namespace: Libplanet.Action.State
Assembly: Libplanet.Action.dll
Syntax
public interface IWorldDelta

Properties

| Improve this Doc View Source

Accounts

A dictionary representing changed account states for each Address. This lasts till new empty delta instance has been made.

Declaration
IImmutableDictionary<Address, IAccount> Accounts { get; }
Property Value
Type Description
IImmutableDictionary<Address, IAccount>

Methods

| Improve this Doc View Source

SetAccount(Address, IAccount)

Set account on both of Accounts and dictionaries. If IAccount already exists on address, update with new account.

Declaration
IWorldDelta SetAccount(Address address, IAccount account)
Parameters
Type Name Description
Address address

Address to set on.

IAccount account

IAccount to set.

Returns
Type Description
IWorldDelta

New IWorldDelta that account is properly set.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium