Table of Contents

Class LoginCharacterPacket

Namespace
Moongate.Network.Packets.Incoming.Login
Assembly
Moongate.Network.Packets.dll
[PacketHandler(93, PacketSizing.Fixed, Length = 73, Description = "Login Character")]
public class LoginCharacterPacket : BaseGameNetworkPacket, IGameNetworkPacket
Inheritance
LoginCharacterPacket
Implements
Inherited Members

Constructors

LoginCharacterPacket()

public LoginCharacterPacket()

Properties

CharacterName

public string CharacterName { get; set; }

Property Value

string

ClientFlags

public ClientFlags ClientFlags { get; set; }

Property Value

ClientFlags

ClientIp

public uint ClientIp { get; set; }

Property Value

uint

LoginCount

public int LoginCount { get; set; }

Property Value

int

Pattern1

public int Pattern1 { get; set; }

Property Value

int

Slot

public int Slot { get; set; }

Property Value

int

Unknown0

public ushort Unknown0 { get; set; }

Property Value

ushort

Unknown1

public int Unknown1 { get; set; }

Property Value

int

Unknown2

public byte[] Unknown2 { get; set; }

Property Value

byte[]

Methods

ParsePayload(ref SpanReader)

Parses packet-specific payload after opcode validation.

protected override bool ParsePayload(ref SpanReader reader)

Parameters

reader SpanReader

Packet span reader positioned after opcode.

Returns

bool

true when payload parsing succeeds; otherwise false.

Write(ref SpanWriter)

Writes packet content to the target span writer.

public override void Write(ref SpanWriter writer)

Parameters

writer SpanWriter

Destination writer.