public class RespondToHitSystems
Class RespondToHitSystems. Provides respondtohitsystems functionality for the Hytale server.
java.lang.Object > RespondToHitSystems
Field Summary
visible
final
EntityTrackerSystems.Visible
visible
Field visible.
ref
final
Ref
ref
Field ref.
update
final
ComponentUpdate
update
Field update.
player
final
Player
player
Field player.
Method Detail
QueueResource
public
public
QueueResource
()
Method QueueResource.
getResourceType
public
QueueResource>
getResourceType
()
Method getResourceType.
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
if
public
else
if
(!visible.newlyVisibleTo.isEmpty()
Method if.
- Parameters:
!visible.newlyVisibleTo.isEmpty(!visible.newlyVisibleTo.isEmpty(
queueUpdatesFor
static
void
queueUpdatesFor
(final Ref ref, @Nonnull final Map, EntityTrackerSystems.EntityViewer> visibleTo)
Method queueUpdatesFor.
- Parameters:
final Refref@Nonnull final Map, EntityTrackerSystems.EntityViewer>visibleTo
EntityTrackerAddAndRemove
Method EntityTrackerAddAndRemove.
- Parameters:
final ComponentTypevisibleComponentType
componentType
public
RespondToHit>
componentType
()
Method componentType.
onComponentAdded
public
void
onComponentAdded
(@Nonnull final Ref ref, @Nonnull final RespondToHit component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentAdded.
- Parameters:
@Nonnull final Refref@Nonnull final RespondToHitcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentSet
public
void
onComponentSet
(@Nonnull final Ref ref, final RespondToHit oldComponent, @Nonnull final RespondToHit newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentSet.
- Parameters:
@Nonnull final Refreffinal RespondToHitoldComponent@Nonnull final RespondToHitnewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
onComponentRemoved
public
void
onComponentRemoved
(@Nonnull final Ref ref, @Nonnull final RespondToHit component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method onComponentRemoved.
- Parameters:
@Nonnull final Refref@Nonnull final RespondToHitcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer