Class MapItem
Item spawn EMF entity
[Generated]
public class MapItem : ISerializable
- Inheritance
-
MapItem
- Implements
- Inherited Members
Constructors
MapItem()
public MapItem()
Properties
Amount
public int Amount { get; set; }
Property Value
ByteSize
Gets the size of the data that this object was deserialized from, or 0 for an object that was not deserialized.
public int ByteSize { get; }
Property Value
ChestSlot
public int ChestSlot { get; set; }
Property Value
Coords
public Coords Coords { get; set; }
Property Value
ItemId
public int ItemId { get; set; }
Property Value
Key
public int Key { get; set; }
Property Value
SpawnTime
public int SpawnTime { get; set; }
Property Value
Methods
Deserialize(EoReader)
Deserialize the EO binary data representation of this object from an EoReader.
public void Deserialize(EoReader reader)
Parameters
readerEoReaderThe reader from which this object should be read.
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Serialize(EoWriter)
Serialize this object to an EoWriter in the EO binary data representation.
public void Serialize(EoWriter writer)
Parameters
writerEoWriterThe writer to which this object should be written.
ToString()
public override string ToString()