ComponentRegistryProxy

public class ComponentRegistryProxy

Class ComponentRegistryProxy. Provides componentregistryproxy functionality for the Hytale server.

java.lang.Object > ComponentRegistryProxy

Field Summary

No fields documented.

Method Detail

ComponentRegistryProxy

public public ComponentRegistryProxy (final List registrations, final ComponentRegistry registry)

Method ComponentRegistryProxy.

Parameters:
final List registrations
final ComponentRegistry registry

shutdown

public void shutdown ()

Method shutdown.

registerComponent

public T> registerComponent (@Nonnull final Class tClass, @Nonnull final Supplier supplier)

Method registerComponent.

Parameters:
@Nonnull final Class tClass
@Nonnull final Supplier supplier

registerResource

public T> registerResource (@Nonnull final Class tClass, @Nonnull final Supplier supplier)

Method registerResource.

Parameters:
@Nonnull final Class tClass
@Nonnull final Supplier supplier

registerSpatialResource

public ECS_TYPE>> registerSpatialResource (@Nonnull final Supplier>> supplier)

Method registerSpatialResource.

Parameters:
@Nonnull final Supplier>> supplier

registerSystemType

public T> registerSystemType (@Nonnull final Class systemTypeClass)

Method registerSystemType.

Parameters:
@Nonnull final Class systemTypeClass

registerEntityEventType

public T> registerEntityEventType (@Nonnull final Class eventTypeClass)

Method registerEntityEventType.

Parameters:
@Nonnull final Class eventTypeClass

registerWorldEventType

public T> registerWorldEventType (@Nonnull final Class eventTypeClass)

Method registerWorldEventType.

Parameters:
@Nonnull final Class eventTypeClass

registerSystemGroup

public SystemGroup registerSystemGroup ()

Method registerSystemGroup.

registerSystem

public void registerSystem (@Nonnull final ISystem system)

Method registerSystem.

Parameters:
@Nonnull final ISystem system

registerComponentType

public T> registerComponentType (@Nonnull final ComponentType componentType)

Method registerComponentType.

Parameters:
@Nonnull final ComponentType componentType

registerResourceType

public T> registerResourceType (@Nonnull final ResourceType componentType)

Method registerResourceType.

Parameters:
@Nonnull final ResourceType componentType