Show / Hide Table of Contents

    Class SquarePacket

    Class that represents a square around a creature packet.

    Inheritance
    System.Object
    SquarePacket
    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 SquarePacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    SquarePacket(UInt32, SquareColor)

    Initializes a new instance of the SquarePacket class.

    Declaration
    public SquarePacket(uint onCreatureId, SquareColor color)
    Parameters
    Type Name Description
    System.UInt32 onCreatureId

    The Id of the creature on which to draw the square.

    SquareColor color

    The color of the square to draw.

    Properties

    | Improve this Doc View Source

    Color

    Gets the color of the square.

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

    OnCreatureId

    Gets the Id of the creature on which the square goes.

    Declaration
    public uint OnCreatureId { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    PacketType

    Gets the type of this packet.

    Declaration
    public OutgoingPacketType PacketType { get; }
    Property Value
    Type Description
    OutgoingPacketType

    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.