Class SwitchActiveSlotSystem

java.lang.Object
com.hypixel.hytale.component.system.EventSystem<com.hypixel.hytale.server.core.event.events.ecs.SwitchActiveSlotEvent>
com.hypixel.hytale.component.system.EntityEventSystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.event.events.ecs.SwitchActiveSlotEvent>
fr.hytale.loader.internal.SwitchActiveSlotSystem
All Implemented Interfaces:
com.hypixel.hytale.component.system.ISystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>, com.hypixel.hytale.component.system.QuerySystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>

public class SwitchActiveSlotSystem extends com.hypixel.hytale.component.system.EntityEventSystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.event.events.ecs.SwitchActiveSlotEvent>
Internal ECS system for handling active slot switch events.
Since:
1.0.2
Version:
1.0.4
Author:
HytaleLoader
  • Field Summary

    Fields inherited from interface com.hypixel.hytale.component.system.ISystem

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.hypixel.hytale.component.query.Query<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>
     
    void
    handle(int entityIndex, com.hypixel.hytale.component.ArchetypeChunk<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> chunk, com.hypixel.hytale.component.Store<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> store, com.hypixel.hytale.component.CommandBuffer<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> commandBuffer, com.hypixel.hytale.server.core.event.events.ecs.SwitchActiveSlotEvent event)
     

    Methods inherited from class com.hypixel.hytale.component.system.EntityEventSystem

    handleInternal

    Methods inherited from class com.hypixel.hytale.component.system.EventSystem

    getEventType, shouldProcessEvent

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hypixel.hytale.component.system.ISystem

    getDependencies, getGroup, onSystemRegistered, onSystemUnregistered

    Methods inherited from interface com.hypixel.hytale.component.system.QuerySystem

    test
  • Constructor Details

    • SwitchActiveSlotSystem

      public SwitchActiveSlotSystem()
  • Method Details

    • getQuery

      public com.hypixel.hytale.component.query.Query<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> getQuery()
    • handle

      public void handle(int entityIndex, @Nonnull com.hypixel.hytale.component.ArchetypeChunk<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> chunk, @Nonnull com.hypixel.hytale.component.Store<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> store, @Nonnull com.hypixel.hytale.component.CommandBuffer<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> commandBuffer, @Nonnull com.hypixel.hytale.server.core.event.events.ecs.SwitchActiveSlotEvent event)
      Specified by:
      handle in class com.hypixel.hytale.component.system.EntityEventSystem<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, com.hypixel.hytale.server.core.event.events.ecs.SwitchActiveSlotEvent>