예제 #1
0
        private void Bank(Data.Point2D returnLocation)
        {
            movingHelper.newMoveXY(800, 1469, true, 0, true);

            ContainersHelper.EmptyContainer(EasyUOItem.INGOTS, playerMobile.Backpack, dropContainer);
            ContainersHelper.EmptyContainer(EasyUOItem.ORES, playerMobile.Backpack, dropContainer);

            RestockPickaxes();

            movingHelper.newMoveXY((ushort)returnLocation.X, (ushort)returnLocation.Y, true, 0, true);
        }
예제 #2
0
        public void Setup()
        {
            Cistern.Linq.Registry.Clear();
            switch (ContainerType)
            {
            case ContainerType.Array:
            case ContainerType.List:
            case ContainerType.Enumerable:
                break;

            case ContainerType.ImmutableArray:
            case ContainerType.ImmutableList:
                Immutable.Register.RegisterSystemCollectionsImmutable();
                break;

            case ContainerType.FSharpList:
                FSharp.Register.RegisterFSharpCollections();
                break;
            }

            var customers = DummyData.GetCustomers(CustomerCount).OrderBy(x => x.State);

            Customers = ContainersHelper.ToContainer(customers, ContainerType);
        }