Context class

Пакет: com.hypixel.hytale.builtin.hytalegenerator.engine.stages

Файл: com/hypixel/hytale/builtin/hytalegenerator/engine/stages/Stage.java

Поля (2)

МодификаторыТипИмя
public Map<BufferType, BufferBundle.Access.View> bufferAccess
public WorkerIndexer.Id workerId

Исходный код

Показать/скрыть
class="kw">package com.hypixel.hytale.builtin.hytalegenerator.engine.stages;

class="kw">import com.hypixel.hytale.builtin.hytalegenerator.bounds.Bounds3i;
class="kw">import com.hypixel.hytale.builtin.hytalegenerator.engine.bufferbundle.BufferBundle;
class="kw">import com.hypixel.hytale.builtin.hytalegenerator.engine.bufferbundle.buffers.type.BufferType;
class="kw">import com.hypixel.hytale.builtin.hytalegenerator.workerindexer.WorkerIndexer;
class="kw">import java.util.List;
class="kw">import java.util.Map;
class="kw">import javax.annotation.Nonnull;

class="kw">public class="kw">interface Stage {
   void run(@Nonnull Stage.Context var1);

   @Nonnull
   Map<BufferType, Bounds3i> getInputTypesAndBounds_bufferGrid();

   @Nonnull
   List<BufferType> getOutputTypes();

   @Nonnull
   String getName();

   class="kw">final class Context {
      @Nonnull
      class="kw">public Map<BufferType, BufferBundle.Access.View> bufferAccess;
      @Nonnull
      class="kw">public WorkerIndexer.Id workerId;

      class="kw">public Context(@Nonnull Map<BufferType, BufferBundle.Access.View> var1, @Nonnull WorkerIndexer.Id var2) {
         this.bufferAccess = var1;
         this.workerId = var2;
      }
   }
}