Table of Contents

Class Costume

Namespace
Nekoyume.Model.Item
Assembly
Lib9c.dll
[Serializable]
public class Costume : ItemBase, INonFungibleItem, IEquippableItem, ITradableItem, IItem, IState
Inheritance
Costume
Implements
Inherited Members

Constructors

Costume(Dictionary)

public Costume(Dictionary serialized)

Parameters

serialized Dictionary

Costume(Row, Guid)

public Costume(CostumeItemSheet.Row data, Guid itemId)

Parameters

data CostumeItemSheet.Row
itemId Guid

Costume(SerializationInfo, StreamingContext)

protected Costume(SerializationInfo info, StreamingContext _)

Parameters

info SerializationInfo
_ StreamingContext

Fields

equipped

public bool equipped

Field Value

bool

Properties

Equipped

public bool Equipped { get; }

Property Value

bool

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

SpineResourcePath

public string SpineResourcePath { get; }

Property Value

string

TradableId

public Guid TradableId { get; }

Property Value

Guid

Methods

Equals(Costume)

protected bool Equals(Costume other)

Parameters

other Costume

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.

Equip()

public void Equip()

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

Unequip()

public void Unequip()

Update(long)

public void Update(long blockIndex)

Parameters

blockIndex long