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 Stringid
firstRun
final
void
firstRun
(@Nonnull final InteractionType type, @Nonnull final InteractionContext context, @Nonnull final CooldownHandler cooldownHandler)
Method firstRun.
- Parameters:
@Nonnull final InteractionTypetype@Nonnull final InteractionContextcontext@Nonnull final CooldownHandlercooldownHandler
toString
public
String
toString
()
Method toString.