Show / Hide Table of Contents

    Class ContainerUpdateItemPacket

    Class that represents a packet for an item being updated within a container.

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

    Constructors

    | Improve this Doc View Source

    ContainerUpdateItemPacket(Byte, Byte, IItem)

    Initializes a new instance of the ContainerUpdateItemPacket class.

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

    The index within the container, at which the item being updated is.

    System.Byte containerId

    The id of the container.

    IItem item

    The item being updated.

    Properties

    | Improve this Doc View Source

    ContainerId

    Gets the id of the container.

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

    Index

    Gets the index within the container, at which the item being updated is.

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

    Item

    Gets the item being updated.

    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.