StartObjectiveInteraction

public class StartObjectiveInteraction extends SimpleInstantInteraction

Class StartObjectiveInteraction. Provides startobjectiveinteraction functionality for the Hytale server.

java.lang.Object > SimpleInstantInteraction > StartObjectiveInteraction

Field Summary

objectiveTypeSetup

protected ObjectiveTypeSetup objectiveTypeSetup

Field objectiveTypeSetup.

commandBuffer

final CommandBuffer commandBuffer

Field commandBuffer.

ref

final Ref ref

Field ref.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

itemStack

final ItemStack itemStack

Field itemStack.

store

final Store store

Field store.

objectiveUUID

final UUID objectiveUUID

Field objectiveUUID.

world

final World world

Field world.

objective

final Objective objective

Field objective.

clonedItemStack

final ItemStack clonedItemStack

Field clonedItemStack.

Method Detail

firstRun

Method firstRun.

Parameters:
@Nonnull final InteractionType type
@Nonnull final InteractionContext context
@Nonnull final CooldownHandler cooldownHandler

startObjective

private void startObjective (@Nonnull final PlayerRef player, @Nonnull final InteractionContext context, @Nonnull final ItemStack itemStack, @Nonnull final Store store)

Method startObjective.

Parameters:
@Nonnull final PlayerRef player
@Nonnull final InteractionContext context
@Nonnull final ItemStack itemStack
@Nonnull final Store store

toString

public String toString ()

Method toString.

KeyedCodec

public new KeyedCodec ("Setup", ObjectiveTypeSetup.CODEC)

Method KeyedCodec.

Parameters:
"Setup" "Setup"
ObjectiveTypeSetup.CODEC ObjectiveTypeSetup.CODEC