Table of Contents

Class LoginReplyServerPacket

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

Login reply

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

Constructors

LoginReplyServerPacket()

public LoginReplyServerPacket()

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

ReplyCode

public LoginReply ReplyCode { get; set; }

Property Value

LoginReply

ReplyCodeData

public LoginReplyServerPacket.IReplyCodeData ReplyCodeData { get; set; }

Property Value

LoginReplyServerPacket.IReplyCodeData

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

ForBanned()

public static LoginReplyServerPacket ForBanned()

Returns

LoginReplyServerPacket

The new LoginReplyServerPacket.

ForBusy()

public static LoginReplyServerPacket ForBusy()

Returns

LoginReplyServerPacket

The new LoginReplyServerPacket.

ForLoggedIn()

public static LoginReplyServerPacket ForLoggedIn()

Returns

LoginReplyServerPacket

The new LoginReplyServerPacket.

ForOk(ReplyCodeDataOk)

Creates a new LoginReplyServerPacket with ReplyCode set to Ok and ReplyCodeData set to data.

public static LoginReplyServerPacket ForOk(LoginReplyServerPacket.ReplyCodeDataOk data)

Parameters

data LoginReplyServerPacket.ReplyCodeDataOk

The data for the case.

Returns

LoginReplyServerPacket

The new LoginReplyServerPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForWrongUser()

public static LoginReplyServerPacket ForWrongUser()

Returns

LoginReplyServerPacket

The new LoginReplyServerPacket.

ForWrongUserPassword()

public static LoginReplyServerPacket ForWrongUserPassword()

Returns

LoginReplyServerPacket

The new LoginReplyServerPacket.

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