Show / Hide Table of Contents

    Class ProjectilePacket

    Class that represents a projectile packet.

    Inheritance
    System.Object
    ProjectilePacket
    Implements
    IOutboundPacket
    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.Outgoing
    Assembly: Fibula.Communications.Packets.dll
    Syntax
    public class ProjectilePacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    ProjectilePacket(Location, Location, ProjectileType)

    Initializes a new instance of the ProjectilePacket class.

    Declaration
    public ProjectilePacket(Location fromLocation, Location toLocation, ProjectileType projectileType)
    Parameters
    Type Name Description
    Location fromLocation

    The location from which the projectile is launched.

    Location toLocation

    The location to which the projectile impacts.

    ProjectileType projectileType

    The projectile type.

    Properties

    | Improve this Doc View Source

    Effect

    Gets the actual projectile effect.

    Declaration
    public ProjectileType Effect { get; }
    Property Value
    Type Description
    ProjectileType
    | Improve this Doc View Source

    FromLocation

    Gets the location of origin.

    Declaration
    public Location FromLocation { get; }
    Property Value
    Type Description
    Location
    | Improve this Doc View Source

    PacketType

    Gets the type of this packet.

    Declaration
    public OutgoingPacketType PacketType { get; }
    Property Value
    Type Description
    OutgoingPacketType
    | Improve this Doc View Source

    ToLocation

    Gets the location of impact.

    Declaration
    public Location ToLocation { get; }
    Property Value
    Type Description
    Location

    Implements

    IOutboundPacket

    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.