InteractionView

public class InteractionView extends PrioritisedProviderView

Class InteractionView. Provides interactionview functionality for the Hytale server.

java.lang.Object > PrioritisedProviderView > InteractionView

Field Summary

npcComponent

final NPCEntity npcComponent

Field npcComponent.

playerUUIDComponent

final UUIDComponent playerUUIDComponent

Field playerUUIDComponent.

playerUUID

final UUID playerUUID

Field playerUUID.

entityWorld

final World entityWorld

Field entityWorld.

blackboardResource

final Blackboard blackboardResource

Field blackboardResource.

status

final ReservationStatus status

Field status.

Method Detail

InteractionView

public public InteractionView (final World world)

Method InteractionView.

Parameters:
final World world

if

public else if (!npcComponent.isReserved()

Method if.

Parameters:
!npcComponent.isReserved( !npcComponent.isReserved(

isOutdated

public boolean isOutdated (@Nonnull final Ref ref, @Nonnull final Store store)

Method isOutdated.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store

getUpdatedView

public InteractionView getUpdatedView (@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)

Method getUpdatedView.

Parameters:
@Nonnull final Ref ref
@Nonnull final ComponentAccessor componentAccessor

initialiseEntity

public void initialiseEntity (@Nonnull final Ref ref, @Nonnull final NPCEntity npcComponent)

Method initialiseEntity.

Parameters:
@Nonnull final Ref ref
@Nonnull final NPCEntity npcComponent

cleanup

public void cleanup ()

Method cleanup.

onWorldRemoved

public void onWorldRemoved ()

Method onWorldRemoved.

getReservationStatus

public ReservationStatus getReservationStatus (@Nonnull final Ref npcRef, @Nonnull final Ref playerRef, @Nonnull final ComponentAccessor componentAccessor)

Method getReservationStatus.

Parameters:
@Nonnull final Ref npcRef
@Nonnull final Ref playerRef
@Nonnull final ComponentAccessor componentAccessor