Show / Hide Table of Contents

    Class WorldLightPacket

    Class that represents a world light packet.

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

    Constructors

    | Improve this Doc View Source

    WorldLightPacket(Byte, Byte)

    Initializes a new instance of the WorldLightPacket class.

    Declaration
    public WorldLightPacket(byte level, byte color)
    Parameters
    Type Name Description
    System.Byte level

    The light level.

    System.Byte color

    The color level.

    Properties

    | Improve this Doc View Source

    Color

    Gets the color of the light.

    Declaration
    public byte Color { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    Level

    Gets the level of the light.

    Declaration
    public byte Level { get; }
    Property Value
    Type Description
    System.Byte
    | 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.