Table of Contents

Class ShopTradeRecord

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

Record of an item that can be bought or sold in a shop

[Generated]
public class ShopTradeRecord : ISerializable
Inheritance
ShopTradeRecord
Implements
Inherited Members

Constructors

ShopTradeRecord()

public ShopTradeRecord()

Properties

BuyPrice

How much it costs to buy the item from the shop

public int BuyPrice { get; set; }

Property Value

int

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

ItemId

public int ItemId { get; set; }

Property Value

int

MaxAmount

Max amount of the item that can be bought or sold at one time

public int MaxAmount { get; set; }

Property Value

int

SellPrice

How much the shop will pay for the item

public int SellPrice { get; set; }

Property Value

int

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

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