Class WorldLightPacket
Class that represents a world light packet.
Inheritance
System.Object
WorldLightPacket
Implements
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 SourceWorldLightPacket(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 SourceColor
Gets the color of the light.
Declaration
public byte Color { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Level
Gets the level of the light.
Declaration
public byte Level { get; }
Property Value
Type | Description |
---|---|
System.Byte |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |