Table of Contents

Class ChairRequestClientPacket

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

Sitting on a chair

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

Constructors

ChairRequestClientPacket()

public ChairRequestClientPacket()

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

SitAction

public SitAction SitAction { get; set; }

Property Value

SitAction

SitActionData

public ChairRequestClientPacket.ISitActionData SitActionData { get; set; }

Property Value

ChairRequestClientPacket.ISitActionData

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

ForSit(SitActionDataSit)

Creates a new ChairRequestClientPacket with SitAction set to Sit and SitActionData set to data.

public static ChairRequestClientPacket ForSit(ChairRequestClientPacket.SitActionDataSit data)

Parameters

data ChairRequestClientPacket.SitActionDataSit

The data for the case.

Returns

ChairRequestClientPacket

The new ChairRequestClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForStand()

Creates a new ChairRequestClientPacket with SitAction set to Stand.

public static ChairRequestClientPacket ForStand()

Returns

ChairRequestClientPacket

The new ChairRequestClientPacket.

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