Ejemplo n.º 1
0
        public static bool Send(Objects.Client client, byte id, ushort itemId, string name, byte capacity, byte hasParent, List<Objects.Item> items)
        {
            ContainerOpenPacket p = new ContainerOpenPacket(client);

            p.Id = id;
            p.ItemId = itemId;
            p.Name = name;
            p.Capacity = capacity;
            p.HasParent = hasParent;
            p.Items = items;

            return p.Send();
        }
Ejemplo n.º 2
0
        public static bool Send(Objects.Client client, byte id, ushort itemId, string name, byte capacity, byte hasParent, List <Objects.Item> items)
        {
            ContainerOpenPacket p = new ContainerOpenPacket(client);

            p.Id        = id;
            p.ItemId    = itemId;
            p.Name      = name;
            p.Capacity  = capacity;
            p.HasParent = hasParent;
            p.Items     = items;

            return(p.Send());
        }