Table of Contents

Class StatSkillAddClientPacket

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

Spending a stat point on a stat or skill

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

Constructors

StatSkillAddClientPacket()

public StatSkillAddClientPacket()

Properties

Action

Gets the packet action associated with this packet

public PacketAction Action { get; }

Property Value

PacketAction

ActionType

public TrainType ActionType { get; set; }

Property Value

TrainType

ActionTypeData

public StatSkillAddClientPacket.IActionTypeData ActionTypeData { get; set; }

Property Value

StatSkillAddClientPacket.IActionTypeData

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

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

ForSkill(ActionTypeDataSkill)

Creates a new StatSkillAddClientPacket with ActionType set to Skill and ActionTypeData set to data.

public static StatSkillAddClientPacket ForSkill(StatSkillAddClientPacket.ActionTypeDataSkill data)

Parameters

data StatSkillAddClientPacket.ActionTypeDataSkill

The data for the case.

Returns

StatSkillAddClientPacket

The new StatSkillAddClientPacket.

Exceptions

ArgumentNullException

Thrown when data is null.

ForStat(ActionTypeDataStat)

Creates a new StatSkillAddClientPacket with ActionType set to Stat and ActionTypeData set to data.

public static StatSkillAddClientPacket ForStat(StatSkillAddClientPacket.ActionTypeDataStat data)

Parameters

data StatSkillAddClientPacket.ActionTypeDataStat

The data for the case.

Returns

StatSkillAddClientPacket

The new StatSkillAddClientPacket.

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