Interface IComponentRegistry
Namespace: ReadyM.Api.Multiplayer.ECS.Registry
Assembly: ReadyM.Api.Multiplayer.dll
Allows registering components with the ECS system, both local and networked.
public interface IComponentRegistry
Methods
RegisterComponent<T>()
Registers a networked (replicated over the network) component type with the ECS system.
IComponentRegistry RegisterComponent<T>() where T : struct, INetworkedComponent
Returns
Type Parameters
T
The type of the component to register. Must be a struct that implements INetworkedComponent.