ReachLocationMarkerSystems

public class ReachLocationMarkerSystems

Class ReachLocationMarkerSystems. Provides reachlocationmarkersystems functionality for the Hytale server.

java.lang.Object > ReachLocationMarkerSystems

Field Summary

reachLocationMarkerComponent

final ReachLocationMarker reachLocationMarkerComponent

Field reachLocationMarkerComponent.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

pos

final Vector3d pos

Field pos.

objectiveDataStore

final ObjectiveDataStore objectiveDataStore

Field objectiveDataStore.

taskRefs

final Set> taskRefs

Field taskRefs.

objective

final Objective objective

Field objective.

markerId

final String markerId

Field markerId.

asset

final ReachLocationMarkerAsset asset

Field asset.

previousPlayers

final Set previousPlayers

Field previousPlayers.

players

final Set players

Field players.

results

final ObjectList> results

Field results.

position

final Vector3d position

Field position.

otherEntityReference

final Ref otherEntityReference

Field otherEntityReference.

otherUuidComponent

final UUIDComponent otherUuidComponent

Field otherUuidComponent.

otherUuid

final UUID otherUuid

Field otherUuid.

Method Detail

EntityAdded

public public EntityAdded (final ComponentType reachLocationMarkerComponent)

Method EntityAdded.

Parameters:
final ComponentType reachLocationMarkerComponent

getQuery

public Query getQuery ()

Method getQuery.

onEntityAdded

public void onEntityAdded (@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final AddReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onEntityRemove

public void onEntityRemove (@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityRemove.

Parameters:
@Nonnull final Ref ref
@Nonnull final RemoveReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

EnsureNetworkSendable

public public EnsureNetworkSendable ()

Method EnsureNetworkSendable.

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

NetworkId

public new NetworkId (store.getExternalData()

Method NetworkId.

Parameters:
store.getExternalData( store.getExternalData(

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

Ticking

public public Ticking (final ComponentType reachLocationMarkerComponent, final ResourceType, EntityStore>> playerSpatialComponent)

Method Ticking.

Parameters:
final ComponentType reachLocationMarkerComponent
final ResourceType, EntityStore>> playerSpatialComponent

SystemDependency

public new SystemDependency (Order.AFTER, PlayerSpatialSystem.class, OrderPriority.CLOSEST)

Method SystemDependency.

Parameters:
Order.AFTER Order.AFTER
PlayerSpatialSystem.class PlayerSpatialSystem.class
OrderPriority.CLOSEST OrderPriority.CLOSEST

getDependencies

public Set> getDependencies ()

Method getDependencies.

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