Show / Hide Table of Contents

    Class ContainerAddItemPacket

    Class that represents a packet for an item added to a container.

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

    Constructors

    | Improve this Doc View Source

    ContainerAddItemPacket(Byte, IItem)

    Initializes a new instance of the ContainerAddItemPacket class.

    Declaration
    public ContainerAddItemPacket(byte containerId, IItem item)
    Parameters
    Type Name Description
    System.Byte containerId

    The id of the container.

    IItem item

    The item being added.

    Properties

    | Improve this Doc View Source

    ContainerId

    Gets the id of the container, as seen by the target player.

    Declaration
    public byte ContainerId { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    Item

    Gets the item being added.

    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

    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.