Interface IComponentApi
Namespace: WukongMp.Api
Assembly: WukongMp.Api.dll
Provides methods for registering custom networked components.
public interface IComponentApi
Methods
RegisterComponent<T>()
Register a custom INetworkedComponent to be syncronized over the network.
void RegisterComponent<T>() where T : struct, INetworkedComponent
Type Parameters
T
Type of the component to register.