Class StatSkillAddClientPacket

Spending a stat point on a stat or skill

Hierarchy

  • StatSkillAddClientPacket

Constructors

Properties

_actionType: TrainType = null
_actionTypeData: ActionTypeData
_byteSize: number = 0

Accessors

  • get action(): PacketAction
  • Returns PacketAction

  • get actionType(): TrainType
  • Returns TrainType

  • set actionType(actionType: TrainType): void
  • Parameters

    Returns void

  • get actionTypeData(): ActionTypeData
  • Returns data associated with the actionType field.

    Returns

    Data associated with the actionType field

    Returns ActionTypeData

  • set actionTypeData(actionTypeData: ActionTypeData): void
  • Sets data associated with the actionType field.

    Parameters

    Returns void

  • get byteSize(): number
  • Returns the size of the data that this was deserialized from.

    Returns

    The size of the data that this was deserialized from

    Returns number

  • get family(): PacketFamily
  • Returns PacketFamily

  • get action(): PacketAction
  • Returns the packet action associated with this type.

    Returns

    The packet action associated with this type

    Returns PacketAction

  • get family(): PacketFamily
  • Returns the packet family associated with this type.

    Returns

    The packet family associated with this type

    Returns PacketFamily

Methods

  • Parameters

    Returns void

  • Deserializes an instance of StatSkillAddClientPacket from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns StatSkillAddClientPacket

  • Serializes an instance of StatSkillAddClientPacket to the provided EoWriter.

    Parameters

    Returns void

Generated using TypeDoc