Table of Contents

Class Material

Namespace
Nekoyume.Model.Item
Assembly
Lib9c.dll
[Serializable]
public class Material : ItemBase, ISerializable, IFungibleItem, IItem, IState
Inheritance
Material
Implements
Derived
Inherited Members

Constructors

Material(Dictionary)

public Material(Dictionary serialized)

Parameters

serialized Dictionary

Material(Material)

public Material(Material other)

Parameters

other Material

Material(Row)

public Material(MaterialItemSheet.Row data)

Parameters

data MaterialItemSheet.Row

Material(SerializationInfo, StreamingContext)

protected Material(SerializationInfo info, StreamingContext _)

Parameters

info SerializationInfo
_ StreamingContext

Properties

FungibleId

public HashDigest<SHA256> FungibleId { get; }

Property Value

HashDigest<SHA256>

ItemId

public HashDigest<SHA256> ItemId { get; }

Property Value

HashDigest<SHA256>

Methods

Equals(Material)

protected bool Equals(Material other)

Parameters

other Material

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

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.