Table of Contents

Class OrderDigest

Namespace
Lib9c.Model.Order
Assembly
Lib9c.dll
[Serializable]
public class OrderDigest : OrderBase
Inheritance
OrderDigest
Inherited Members

Constructors

OrderDigest(Dictionary)

public OrderDigest(Dictionary serialized)

Parameters

serialized Dictionary

OrderDigest(Address, long, long, Guid, Guid, FungibleAssetValue, int, int, int, int)

public OrderDigest(Address sellerAgentAddress, long startedBlockIndex, long expiredBlockIndex, Guid orderId, Guid tradableId, FungibleAssetValue price, int combatPoint, int level, int itemId, int itemCount)

Parameters

sellerAgentAddress Address
startedBlockIndex long
expiredBlockIndex long
orderId Guid
tradableId Guid
price FungibleAssetValue
combatPoint int
level int
itemId int
itemCount int

Fields

CombatPoint

public readonly int CombatPoint

Field Value

int

ItemCount

public readonly int ItemCount

Field Value

int

ItemId

public readonly int ItemId

Field Value

int

Level

public readonly int Level

Field Value

int

Price

public readonly FungibleAssetValue Price

Field Value

FungibleAssetValue

SellerAgentAddress

public readonly Address SellerAgentAddress

Field Value

Address

Methods

Equals(OrderDigest)

protected bool Equals(OrderDigest other)

Parameters

other OrderDigest

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Serialize()

public override IValue Serialize()

Returns

IValue