コード例 #1
0
 public OrderItemPuller(OrderItemPullerOptionManager optionManager,
                        OrderItemProcessor processor,
                        FastProvider provider,
                        FastAdapter adapter,
                        EntityRepository entityRepository,
                        ConnectionRepository connectionRepository) : base(optionManager, processor, provider, adapter, entityRepository, connectionRepository)
 {
 }
コード例 #2
0
    /// <summary>
    /// Populates the subshelves of this Shelf with random values.
    /// </summary>
    private void PopulateSubshelves()
    {
        //for loop loops through a number I give it, and it runs the stuff inside i amount of times
        for (int i = 0; i < subshelfAmount; i++)
        {
            Subshelf subshelf = new Subshelf()
            {
                subshelfItem = new OrderItem(
                    OrderItemProcessor.GetRandomNoun(),
                    $"{ShelfID}.{i + 1}",
                    ui.GetRandomItemSpriteSybol(),
                    Random.ColorHSV()),

                currentItemCount = Random.Range(1, 31)
            };

            subshelves.Add(subshelf);
        }
    }
コード例 #3
0
 public OrderItemIndexer(
     OrderItemProcessor processor,
     OrderItemIndexerOptionManager optionManager,
     FastAdapter adapter) : base(processor, optionManager, adapter)
 {
 }
コード例 #4
0
 public OrderItemPuller(OrderItemPullerOptionManager optionManager,
                        OrderItemProcessor processor,
                        FastAdapter adapter) : base(optionManager, processor, adapter)
 {
 }