EventView

abstract class EventView

Class EventView. Provides eventview functionality for the Hytale server.

java.lang.Object > EventView

Field Summary

eventRegistry

protected EventRegistry eventRegistry

Field eventRegistry.

entityStoreRegistry

protected ComponentRegistryProxy entityStoreRegistry

Field entityStoreRegistry.

shutdown

protected boolean shutdown

Field shutdown.

Method Detail

EventView

public protected EventView (final Class type, final EventType[] eventTypes, final NotificationType reusableEventNotification, @Nonnull final World world)

Method EventView.

Parameters:
final Class type
final EventType[] eventTypes
final NotificationType reusableEventNotification
@Nonnull final World world

EventRegistry

public new EventRegistry (new CopyOnWriteArrayList()

Method EventRegistry.

Parameters:
new CopyOnWriteArrayList(

isOutdated

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

Method isOutdated.

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

onWorldRemoved

public void onWorldRemoved ()

Method onWorldRemoved.

cleanup

public void cleanup ()

Method cleanup.

getSetCount

public int getSetCount ()

Method getSetCount.

forEach

public void forEach (@Nonnull final IntObjectConsumer setConsumer, @Nonnull final Consumer> npcConsumer)

Method forEach.

Parameters:
@Nonnull final IntObjectConsumer setConsumer
@Nonnull final Consumer> npcConsumer

onEvent

protected void onEvent (final int senderTypeId, final double x, final double y, final double z, final Ref initiator, final Ref skip, @Nonnull final ComponentAccessor componentAccessor, final EventType type)

Method onEvent.

Parameters:
final int senderTypeId
final double x
final double y
final double z
final Ref initiator
final Ref skip
@Nonnull final ComponentAccessor componentAccessor
final EventType type