Class SquarePacket
Class that represents a square around a creature packet.
Inheritance
System.Object
SquarePacket
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 SquarePacket : IOutboundPacket
Constructors
| Improve this Doc View SourceSquarePacket(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 SourceColor
Gets the color of the square.
Declaration
public SquareColor Color { get; }
Property Value
Type | Description |
---|---|
SquareColor |
OnCreatureId
Gets the Id of the creature on which the square goes.
Declaration
public uint OnCreatureId { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |