Table of Contents

Class WarpRequestServerPacket

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

Warp request from server

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

Constructors

WarpRequestServerPacket()

public WarpRequestServerPacket()

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

MapId

public int MapId { get; set; }

Property Value

int

SessionId

public int SessionId { get; set; }

Property Value

int

WarpType

public WarpType WarpType { get; set; }

Property Value

WarpType

WarpTypeData

public WarpRequestServerPacket.IWarpTypeData WarpTypeData { get; set; }

Property Value

WarpRequestServerPacket.IWarpTypeData

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

ForLocal()

Creates a new WarpRequestServerPacket with WarpType set to Local.

public static WarpRequestServerPacket ForLocal()

Returns

WarpRequestServerPacket

The new WarpRequestServerPacket.

ForMapSwitch(WarpTypeDataMapSwitch)

Creates a new WarpRequestServerPacket with WarpType set to MapSwitch and WarpTypeData set to data.

public static WarpRequestServerPacket ForMapSwitch(WarpRequestServerPacket.WarpTypeDataMapSwitch data)

Parameters

data WarpRequestServerPacket.WarpTypeDataMapSwitch

The data for the case.

Returns

WarpRequestServerPacket

The new WarpRequestServerPacket.

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