UIComponentSystems

public class UIComponentSystems

Class UIComponentSystems. Provides uicomponentsystems functionality for the Hytale server.

java.lang.Object > UIComponentSystems

Field Summary

visible

final EntityTrackerSystems.Visible visible

Field visible.

uiComponentList

final UIComponentList uiComponentList

Field uiComponentList.

update

final ComponentUpdate update

Field update.

Method Detail

Setup

public public Setup (final ComponentType uiComponentListType)

Method Setup.

Parameters:
final ComponentType uiComponentListType

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store

getQuery

public Query getQuery ()

Method getQuery.

Update

public public Update (final ComponentType visibleComponentType, final ComponentType uiComponentListComponentType)

Method Update.

Parameters:
final ComponentType visibleComponentType
final ComponentType uiComponentListComponentType

getGroup

public SystemGroup getGroup ()

Method getGroup.

isParallel

public boolean isParallel (final int archetypeChunkSize, final int taskCount)

Method isParallel.

Parameters:
final int archetypeChunkSize
final int taskCount

tick

public void tick (final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method tick.

Parameters:
final float dt
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

queueUpdatesFor

static void queueUpdatesFor (final Ref ref, @Nonnull final UIComponentList uiComponentList, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo)

Method queueUpdatesFor.

Parameters:
final Ref ref
@Nonnull final UIComponentList uiComponentList
@Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo

Remove

public public Remove (final ComponentType visibleComponentType, final ComponentType componentType)

Method Remove.

Parameters:
final ComponentType visibleComponentType
final ComponentType componentType

componentType

public UIComponentList> componentType ()

Method componentType.

onComponentAdded

public void onComponentAdded (@Nonnull final Ref ref, @Nonnull final UIComponentList component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final UIComponentList component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentSet

public void onComponentSet (@Nonnull final Ref ref, final UIComponentList oldComponent, @Nonnull final UIComponentList newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentSet.

Parameters:
@Nonnull final Ref ref
final UIComponentList oldComponent
@Nonnull final UIComponentList newComponent
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentRemoved

public void onComponentRemoved (@Nonnull final Ref ref, @Nonnull final UIComponentList component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentRemoved.

Parameters:
@Nonnull final Ref ref
@Nonnull final UIComponentList component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer