Table of Contents

Class WelcomeAgreeClientPacket

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

Requesting a file

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

Constructors

WelcomeAgreeClientPacket()

public WelcomeAgreeClientPacket()

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

FileType

public FileType FileType { get; set; }

Property Value

FileType

FileTypeData

public WelcomeAgreeClientPacket.IFileTypeData FileTypeData { get; set; }

Property Value

WelcomeAgreeClientPacket.IFileTypeData

SessionId

public int SessionId { 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

ForEcf(FileTypeDataEcf)

Creates a new WelcomeAgreeClientPacket with FileType set to Ecf and FileTypeData set to data.

public static WelcomeAgreeClientPacket ForEcf(WelcomeAgreeClientPacket.FileTypeDataEcf data)

Parameters

data WelcomeAgreeClientPacket.FileTypeDataEcf

The data for the case.

Returns

WelcomeAgreeClientPacket

The new WelcomeAgreeClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForEif(FileTypeDataEif)

Creates a new WelcomeAgreeClientPacket with FileType set to Eif and FileTypeData set to data.

public static WelcomeAgreeClientPacket ForEif(WelcomeAgreeClientPacket.FileTypeDataEif data)

Parameters

data WelcomeAgreeClientPacket.FileTypeDataEif

The data for the case.

Returns

WelcomeAgreeClientPacket

The new WelcomeAgreeClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForEmf(FileTypeDataEmf)

Creates a new WelcomeAgreeClientPacket with FileType set to Emf and FileTypeData set to data.

public static WelcomeAgreeClientPacket ForEmf(WelcomeAgreeClientPacket.FileTypeDataEmf data)

Parameters

data WelcomeAgreeClientPacket.FileTypeDataEmf

The data for the case.

Returns

WelcomeAgreeClientPacket

The new WelcomeAgreeClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForEnf(FileTypeDataEnf)

Creates a new WelcomeAgreeClientPacket with FileType set to Enf and FileTypeData set to data.

public static WelcomeAgreeClientPacket ForEnf(WelcomeAgreeClientPacket.FileTypeDataEnf data)

Parameters

data WelcomeAgreeClientPacket.FileTypeDataEnf

The data for the case.

Returns

WelcomeAgreeClientPacket

The new WelcomeAgreeClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForEsf(FileTypeDataEsf)

Creates a new WelcomeAgreeClientPacket with FileType set to Esf and FileTypeData set to data.

public static WelcomeAgreeClientPacket ForEsf(WelcomeAgreeClientPacket.FileTypeDataEsf data)

Parameters

data WelcomeAgreeClientPacket.FileTypeDataEsf

The data for the case.

Returns

WelcomeAgreeClientPacket

The new WelcomeAgreeClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

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