Class ItemBase
[Serializable]
public abstract class ItemBase : IItem, IState
- Inheritance
-
ItemBase
- Implements
- Derived
- Inherited Members
Constructors
ItemBase(Dictionary)
protected ItemBase(Dictionary serialized)
Parameters
serializedDictionary
ItemBase(ItemBase)
protected ItemBase(ItemBase other)
Parameters
otherItemBase
ItemBase(Row)
protected ItemBase(ItemSheet.Row data)
Parameters
ItemBase(SerializationInfo, StreamingContext)
protected ItemBase(SerializationInfo info, StreamingContext _)
Parameters
Fields
Codec
protected static readonly Codec Codec
Field Value
- Codec
Properties
ElementalType
public ElementalType ElementalType { get; set; }
Property Value
Grade
public int Grade { get; }
Property Value
Id
public int Id { get; }
Property Value
ItemSubType
public ItemSubType ItemSubType { get; }
Property Value
ItemType
public ItemType ItemType { get; }
Property Value
Methods
Equals(ItemBase)
protected bool Equals(ItemBase other)
Parameters
otherItemBase
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe 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.
GetObjectData(SerializationInfo, StreamingContext)
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
Serialize()
public virtual 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.