Class ContainerAddItemPacket
Class that represents a packet for an item added to a container.
Inheritance
System.Object
ContainerAddItemPacket
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 ContainerAddItemPacket : IOutboundPacket
Constructors
| Improve this Doc View SourceContainerAddItemPacket(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 SourceContainerId
Gets the id of the container, as seen by the target player.
Declaration
public byte ContainerId { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Item
Gets the item being added.
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 |