Contents
Class RoleSystems.StateSupportUpdateSystem
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.tick.TickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.ArchetypeTickingSystem<EntityStore>
com.hypixel.hytale.component.system.tick.EntityTickingSystem<EntityStore>
com.hypixel.hytale.server.npc.systems.SteppableTickingSystem
com.hypixel.hytale.server.npc.systems.RoleSystems.StateSupportUpdateSystem
- All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>, TickableSystem<EntityStore>
- Enclosing class:
RoleSystems
A steppable ticking system that runs end-of-tick maintenance on
StateSupport.-
Nested Class Summary
Nested classes/interfaces inherited from class EntityTickingSystem
EntityTickingSystem.SystemTaskData<ECS_TYPE> -
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionStateSupportUpdateSystem(ComponentType<EntityStore, StateSupport> stateSupportComponentType) -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanisParallel(int archetypeChunkSize, int taskCount) voidsteppedTick(float dt, int index, ArchetypeChunk<EntityStore> archetypeChunk, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) The abstract tick method utilised bySteppableTickingSystemclassesMethods inherited from class SteppableTickingSystem
tickMethods inherited from class EntityTickingSystem
doTick, tickMethods inherited from class ArchetypeTickingSystem
isExplicitQuery, test, tickMethods inherited from class System
getComponentRegistrations, getResourceRegistrations, registerResource, registerResourceMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface QuerySystem
getHierarchyScope
-
Constructor Details
-
StateSupportUpdateSystem
public StateSupportUpdateSystem(@Nonnull ComponentType<EntityStore, StateSupport> stateSupportComponentType)
-
-
Method Details
-
getDependencies
-
isParallel
public boolean isParallel(int archetypeChunkSize, int taskCount) - Overrides:
isParallelin classEntityTickingSystem<EntityStore>- Returns:
trueif parallel ticking is enabled.- See Also:
-
getQuery
-
steppedTick
public void steppedTick(float dt, int index, @Nonnull ArchetypeChunk<EntityStore> archetypeChunk, @Nonnull Store<EntityStore> store, @Nonnull CommandBuffer<EntityStore> commandBuffer) Description copied from class:SteppableTickingSystemThe abstract tick method utilised bySteppableTickingSystemclasses- Specified by:
steppedTickin classSteppableTickingSystem- Parameters:
dt- The delta time of the current tickindex- The index of the entityarchetypeChunk- The archetype chunk for the systemstore- The entity store for component accesscommandBuffer- The entity store command buffer
-