Class ServerModBase
Namespace: ReadyM.Relay.Server.Sdk
Assembly: ReadyM.Relay.Server.Sdk.dll
public abstract class ServerModBase
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ServerModBase()
protected ServerModBase()
Properties
Services
protected IServerDependencyContainer Services { get; }
Property Value
Methods
Init()
protected abstract void Init()
Initialize(IServerDependencyContainer)
public void Initialize(IServerDependencyContainer services)
Parameters
services IServerDependencyContainer
InitializeAot(IComponentRegistry)
public void InitializeAot(IComponentRegistry registry)
Parameters
registry IComponentRegistry
RegisterComponents(IComponentRegistry)
Any components defined in the mod must be registered here.
protected virtual void RegisterComponents(IComponentRegistry registry)
Parameters
registry IComponentRegistry