Show / Hide Table of Contents

    Class AttackPacket

    Class that represents an attack packet.

    Inheritance
    System.Object
    AttackPacket
    Implements
    IIncomingPacket
    IAttackInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Communications.Packets.Incoming
    Assembly: Fibula.Communications.Packets.dll
    Syntax
    public class AttackPacket : IIncomingPacket, IAttackInfo

    Constructors

    | Improve this Doc View Source

    AttackPacket(UInt32)

    Initializes a new instance of the AttackPacket class.

    Declaration
    public AttackPacket(uint targetCreatureId)
    Parameters
    Type Name Description
    System.UInt32 targetCreatureId

    The id of the creature being attacked.

    Properties

    | Improve this Doc View Source

    TargetCreatureId

    Gets the target creature's id.

    Declaration
    public uint TargetCreatureId { get; }
    Property Value
    Type Description
    System.UInt32

    Implements

    IIncomingPacket
    IAttackInfo

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.