public class SnapshotSystems
Class SnapshotSystems. Provides snapshotsystems functionality for the Hytale server.
java.lang.Object > SnapshotSystems
Field Summary
world
final
World
world
Field world.
tickLength
final
int
tickLength
Field tickLength.
info
final
SnapshotWorldInfo
info
Field info.
previousHistorySize
final
int
previousHistorySize
Field previousHistorySize.
buffer
final
SnapshotBuffer
buffer
Field buffer.
snapshotWorldInfo
final
SnapshotWorldInfo
snapshotWorldInfo
Field snapshotWorldInfo.
transform
final
TransformComponent
transform
Field transform.
tickLengthNanos
private
int
tickLengthNanos
Field tickLengthNanos.
historyLength
private
long
historyLength
Field historyLength.
historySize
private
int
historySize
Field historySize.
currentTick
private
int
currentTick
Field currentTick.
Method Detail
getDependencies
public
Set>
getDependencies
()
Method getDependencies.
isParallel
public
boolean
isParallel
(final int archetypeChunkSize, final int taskCount)
Method isParallel.
- Parameters:
final intarchetypeChunkSizefinal inttaskCount
onEntityAdd
public
void
onEntityAdd
(@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)
Method onEntityAdd.
- Parameters:
@Nonnull final Holderholder@Nonnull final AddReasonreason@Nonnull final Storestore
onEntityRemoved
public
void
onEntityRemoved
(@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)
Method onEntityRemoved.
- Parameters:
@Nonnull final Holderholder@Nonnull final RemoveReasonreason@Nonnull final Storestore
Capture
public
public
Capture
()
Method Capture.
SystemDependency
public
)
new
SystemDependency
(Order.AFTER, (ClassMethod SystemDependency.
- Parameters:
Order.AFTEROrder.AFTER(Class(Class
getResourceType
public
SnapshotWorldInfo>
getResourceType
()
Method getResourceType.
SnapshotWorldInfo
public
public
SnapshotWorldInfo
()
Method SnapshotWorldInfo.