Class ItemUsable
[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
ItemUsable(SerializationInfo, StreamingContext)
protected ItemUsable(SerializationInfo info, StreamingContext _)
Parameters
Properties
BuffSkills
public List<BuffSkill> BuffSkills { get; }
Property Value
ItemId
public Guid ItemId { get; }
Property Value
NonFungibleId
public Guid NonFungibleId { get; }
Property Value
RequiredBlockIndex
public long RequiredBlockIndex { get; set; }
Property Value
Skills
public List<Skill> Skills { get; }
Property Value
StatsMap
public StatsMap StatsMap { get; }
Property Value
Methods
Equals(ItemUsable)
protected bool Equals(ItemUsable other)
Parameters
other
ItemUsable
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
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
Serialize()
public override IValue Serialize()
Returns
- IValue
Update(long)
public void Update(long blockIndex)
Parameters
blockIndex
long