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 Worldworld
if
public
else
if
(!npcComponent.isReserved()
Method if.
- Parameters:
!npcComponent.isReserved(!npcComponent.isReserved(
getUpdatedView
public
InteractionView
getUpdatedView
(@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)
Method getUpdatedView.
- Parameters:
@Nonnull final Refref@Nonnull final ComponentAccessorcomponentAccessor
initialiseEntity
Method initialiseEntity.
- Parameters:
@Nonnull final Refref@Nonnull final NPCEntitynpcComponent
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 RefnpcRef@Nonnull final RefplayerRef@Nonnull final ComponentAccessorcomponentAccessor