UseNPCInteraction

public class UseNPCInteraction extends SimpleInstantInteraction

Class UseNPCInteraction. Provides usenpcinteraction functionality for the Hytale server.

java.lang.Object > SimpleInstantInteraction > UseNPCInteraction

Field Summary

ref

final Ref ref

Field ref.

commandBuffer

final CommandBuffer commandBuffer

Field commandBuffer.

playerComponent

final Player playerComponent

Field playerComponent.

targetRef

final Ref targetRef

Field targetRef.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

interactionView

final InteractionView interactionView

Field interactionView.

Method Detail

UseNPCInteraction

public public UseNPCInteraction (final String id)

Method UseNPCInteraction.

Parameters:
final String id

firstRun

Method firstRun.

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

toString

public String toString ()

Method toString.