コード例 #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();
        }
コード例 #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());
        }