Table of Contents

Class ItemReplyServerPacket

Namespace
Moffat.EndlessOnline.SDK.Protocol.Net.Server
Assembly
Moffat.EndlessOnline.SDK.dll

Reply to using an item

[Generated]
public class ItemReplyServerPacket : IPacket, ISerializable
Inheritance
ItemReplyServerPacket
Implements
Inherited Members

Constructors

ItemReplyServerPacket()

public ItemReplyServerPacket()

Properties

Action

Gets the packet action associated with this packet

public PacketAction Action { get; }

Property Value

PacketAction

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

int

Family

Gets the packet family associated with this packet

public PacketFamily Family { get; }

Property Value

PacketFamily

ItemType

public ItemType ItemType { get; set; }

Property Value

ItemType

ItemTypeData

public ItemReplyServerPacket.IItemTypeData ItemTypeData { get; set; }

Property Value

ItemReplyServerPacket.IItemTypeData

UsedItem

public Item UsedItem { get; set; }

Property Value

Item

Weight

public Weight Weight { get; set; }

Property Value

Weight

Methods

Deserialize(EoReader)

Deserialize the EO binary data representation of this object from an EoReader.

public void Deserialize(EoReader reader)

Parameters

reader EoReader

The reader from which this object should be read.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

ForAccessory()

Creates a new ItemReplyServerPacket with ItemType set to Accessory.

public static ItemReplyServerPacket ForAccessory()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForAlcohol()

Creates a new ItemReplyServerPacket with ItemType set to Alcohol.

public static ItemReplyServerPacket ForAlcohol()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForArmlet()

Creates a new ItemReplyServerPacket with ItemType set to Armlet.

public static ItemReplyServerPacket ForArmlet()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForArmor()

Creates a new ItemReplyServerPacket with ItemType set to Armor.

public static ItemReplyServerPacket ForArmor()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForBelt()

Creates a new ItemReplyServerPacket with ItemType set to Belt.

public static ItemReplyServerPacket ForBelt()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForBoots()

Creates a new ItemReplyServerPacket with ItemType set to Boots.

public static ItemReplyServerPacket ForBoots()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForBracer()

Creates a new ItemReplyServerPacket with ItemType set to Bracer.

public static ItemReplyServerPacket ForBracer()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForCureCurse(ItemTypeDataCureCurse)

Creates a new ItemReplyServerPacket with ItemType set to CureCurse and ItemTypeData set to data.

public static ItemReplyServerPacket ForCureCurse(ItemReplyServerPacket.ItemTypeDataCureCurse data)

Parameters

data ItemReplyServerPacket.ItemTypeDataCureCurse

The data for the case.

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForCurrency()

Creates a new ItemReplyServerPacket with ItemType set to Currency.

public static ItemReplyServerPacket ForCurrency()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForEffectPotion(ItemTypeDataEffectPotion)

Creates a new ItemReplyServerPacket with ItemType set to EffectPotion and ItemTypeData set to data.

public static ItemReplyServerPacket ForEffectPotion(ItemReplyServerPacket.ItemTypeDataEffectPotion data)

Parameters

data ItemReplyServerPacket.ItemTypeDataEffectPotion

The data for the case.

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForExpReward(ItemTypeDataExpReward)

Creates a new ItemReplyServerPacket with ItemType set to ExpReward and ItemTypeData set to data.

public static ItemReplyServerPacket ForExpReward(ItemReplyServerPacket.ItemTypeDataExpReward data)

Parameters

data ItemReplyServerPacket.ItemTypeDataExpReward

The data for the case.

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForGeneral()

Creates a new ItemReplyServerPacket with ItemType set to General.

public static ItemReplyServerPacket ForGeneral()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForGloves()

Creates a new ItemReplyServerPacket with ItemType set to Gloves.

public static ItemReplyServerPacket ForGloves()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForHairDye(ItemTypeDataHairDye)

Creates a new ItemReplyServerPacket with ItemType set to HairDye and ItemTypeData set to data.

public static ItemReplyServerPacket ForHairDye(ItemReplyServerPacket.ItemTypeDataHairDye data)

Parameters

data ItemReplyServerPacket.ItemTypeDataHairDye

The data for the case.

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForHat()

Creates a new ItemReplyServerPacket with ItemType set to Hat.

public static ItemReplyServerPacket ForHat()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForHeal(ItemTypeDataHeal)

Creates a new ItemReplyServerPacket with ItemType set to Heal and ItemTypeData set to data.

public static ItemReplyServerPacket ForHeal(ItemReplyServerPacket.ItemTypeDataHeal data)

Parameters

data ItemReplyServerPacket.ItemTypeDataHeal

The data for the case.

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForKey()

Creates a new ItemReplyServerPacket with ItemType set to Key.

public static ItemReplyServerPacket ForKey()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForNecklace()

Creates a new ItemReplyServerPacket with ItemType set to Necklace.

public static ItemReplyServerPacket ForNecklace()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved1()

Creates a new ItemReplyServerPacket with ItemType set to Reserved1.

public static ItemReplyServerPacket ForReserved1()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved26()

Creates a new ItemReplyServerPacket with ItemType set to Reserved26.

public static ItemReplyServerPacket ForReserved26()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved27()

Creates a new ItemReplyServerPacket with ItemType set to Reserved27.

public static ItemReplyServerPacket ForReserved27()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved28()

Creates a new ItemReplyServerPacket with ItemType set to Reserved28.

public static ItemReplyServerPacket ForReserved28()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved29()

Creates a new ItemReplyServerPacket with ItemType set to Reserved29.

public static ItemReplyServerPacket ForReserved29()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved5()

Creates a new ItemReplyServerPacket with ItemType set to Reserved5.

public static ItemReplyServerPacket ForReserved5()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved7()

Creates a new ItemReplyServerPacket with ItemType set to Reserved7.

public static ItemReplyServerPacket ForReserved7()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForReserved8()

Creates a new ItemReplyServerPacket with ItemType set to Reserved8.

public static ItemReplyServerPacket ForReserved8()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForRing()

Creates a new ItemReplyServerPacket with ItemType set to Ring.

public static ItemReplyServerPacket ForRing()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForShield()

Creates a new ItemReplyServerPacket with ItemType set to Shield.

public static ItemReplyServerPacket ForShield()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForTeleport()

Creates a new ItemReplyServerPacket with ItemType set to Teleport.

public static ItemReplyServerPacket ForTeleport()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

ForWeapon()

Creates a new ItemReplyServerPacket with ItemType set to Weapon.

public static ItemReplyServerPacket ForWeapon()

Returns

ItemReplyServerPacket

The new ItemReplyServerPacket.

GetHashCode()

public override int GetHashCode()

Returns

int

Serialize(EoWriter)

Serialize this object to an EoWriter in the EO binary data representation.

public void Serialize(EoWriter writer)

Parameters

writer EoWriter

The writer to which this object should be written.

ToString()

public override string ToString()

Returns

string