Table of Contents

Class AccountReplyServerPacket

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

Reply to client Account-family packets

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

Constructors

AccountReplyServerPacket()

public AccountReplyServerPacket()

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

Sometimes an AccountReply code, sometimes a session ID for account creation

public AccountReply ReplyCode { get; set; }

Property Value

AccountReply

ReplyCodeData

When ReplyCode is 0, 4, 8 or 9: No effect in the official client

public AccountReplyServerPacket.IReplyCodeData ReplyCodeData { get; set; }

Property Value

AccountReplyServerPacket.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

ForChangeFailed()

public static AccountReplyServerPacket ForChangeFailed()

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

ForChanged()

public static AccountReplyServerPacket ForChanged()

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

ForCreated()

public static AccountReplyServerPacket ForCreated()

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

ForExists()

public static AccountReplyServerPacket ForExists()

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

ForNotApproved()

public static AccountReplyServerPacket ForNotApproved()

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

ForReplyCodeDefault(AccountReply, ReplyCodeDataDefault)

Creates a new AccountReplyServerPacket with ReplyCode set to code and ReplyCodeData set to data.

public static AccountReplyServerPacket ForReplyCodeDefault(AccountReply code, AccountReplyServerPacket.ReplyCodeDataDefault data)

Parameters

code AccountReply

The value of ReplyCode. Must not be a value that has its own case.

data AccountReplyServerPacket.ReplyCodeDataDefault

The data for the case.

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

Exceptions

ArgumentException

Thrown when code is a value that has its own case.

ArgumentNullException

Thrown when data is null.

ForRequestDenied()

public static AccountReplyServerPacket ForRequestDenied()

Returns

AccountReplyServerPacket

The new AccountReplyServerPacket.

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