Table of Contents

Class ItemUsable

Namespace
Nekoyume.Model.Item
Assembly
Lib9c.dll
[Serializable]
public abstract class ItemUsable : ItemBase, INonFungibleItem, IItem, IState
Inheritance
ItemUsable
Implements
Derived
Inherited Members

Constructors

ItemUsable(Dictionary)

protected ItemUsable(Dictionary serialized)

Parameters

serialized Dictionary

ItemUsable(Row, Guid, long)

protected ItemUsable(ItemSheet.Row data, Guid id, long requiredBlockIndex)

Parameters

data ItemSheet.Row
id Guid
requiredBlockIndex long

ItemUsable(SerializationInfo, StreamingContext)

protected ItemUsable(SerializationInfo info, StreamingContext _)

Parameters

info SerializationInfo
_ StreamingContext

Properties

BuffSkills

public List<BuffSkill> BuffSkills { get; }

Property Value

List<BuffSkill>

ItemId

public Guid ItemId { get; }

Property Value

Guid

NonFungibleId

public Guid NonFungibleId { get; }

Property Value

Guid

RequiredBlockIndex

public long RequiredBlockIndex { get; set; }

Property Value

long

Skills

public List<Skill> Skills { get; }

Property Value

List<Skill>

StatsMap

public StatsMap StatsMap { get; }

Property Value

StatsMap

Methods

Equals(ItemUsable)

protected bool Equals(ItemUsable other)

Parameters

other ItemUsable

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.

GetOptionCount()

public int GetOptionCount()

Returns

int

Serialize()

public override IValue Serialize()

Returns

IValue

Update(long)

public void Update(long blockIndex)

Parameters

blockIndex long