Class ContainerUpdateItemPacket
Class that represents a packet for an item being updated within a container.
Inheritance
System.Object
ContainerUpdateItemPacket
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 ContainerUpdateItemPacket : IOutboundPacket
Constructors
| Improve this Doc View SourceContainerUpdateItemPacket(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 SourceContainerId
Gets the id of the container.
Declaration
public byte ContainerId { get; }
Property Value
Type | Description |
---|---|
System.Byte |
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 |
Item
Gets the item being updated.
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 |