Class PlayerInventorySetSlotPacket
Class that represents a player's filled inventory slot packet.
Inheritance
System.Object
PlayerInventorySetSlotPacket
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 PlayerInventorySetSlotPacket : IOutboundPacket
Constructors
| Improve this Doc View SourcePlayerInventorySetSlotPacket(Slot, IItem)
Initializes a new instance of the PlayerInventorySetSlotPacket class.
Declaration
public PlayerInventorySetSlotPacket(Slot slot, IItem item)
Parameters
Type | Name | Description |
---|---|---|
Slot | slot | The slot that this packet is about. |
IItem | item | The item that the slot contains. |
Properties
| Improve this Doc View SourceItem
Gets the item filling the slot.
Declaration
public IItem Item { get; }
Property Value
Type | Description |
---|---|
IItem |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |
Slot
Gets the slot.
Declaration
public Slot Slot { get; }
Property Value
Type | Description |
---|---|
Slot |