Class TileUpdatePacket
Class that represents a tile update packet.
Inheritance
System.Object
TileUpdatePacket
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 TileUpdatePacket : IOutboundPacket
Constructors
| Improve this Doc View SourceTileUpdatePacket(Location, ReadOnlySequence<Byte>)
Initializes a new instance of the TileUpdatePacket class.
Declaration
public TileUpdatePacket(Location location, ReadOnlySequence<byte> descriptionBytes)
Parameters
Type | Name | Description |
---|---|---|
Location | location | The location of the tile. |
System.Buffers.ReadOnlySequence<System.Byte> | descriptionBytes | The description bytes of the tile. |
Properties
| Improve this Doc View SourceDescriptionBytes
Gets the description bytes.
Declaration
public ReadOnlySequence<byte> DescriptionBytes { get; }
Property Value
Type | Description |
---|---|
System.Buffers.ReadOnlySequence<System.Byte> |
Location
Gets the tile location.
Declaration
public Location Location { get; }
Property Value
Type | Description |
---|---|
Location |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |