Show / Hide Table of Contents

    Class PlayerInventorySetSlotPacket

    Class that represents a player's filled inventory slot packet.

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

    Constructors

    | Improve this Doc View Source

    PlayerInventorySetSlotPacket(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 Source

    Item

    Gets the item filling the slot.

    Declaration
    public IItem Item { get; }
    Property Value
    Type Description
    IItem
    | Improve this Doc View Source

    PacketType

    Gets the type of this packet.

    Declaration
    public OutgoingPacketType PacketType { get; }
    Property Value
    Type Description
    OutgoingPacketType
    | Improve this Doc View Source

    Slot

    Gets the slot.

    Declaration
    public Slot Slot { get; }
    Property Value
    Type Description
    Slot

    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.