Skip to main content
Version: 0.3.1

Class ServerModBase

Namespace: ReadyM.Relay.Server.Sdk
Assembly: ReadyM.Relay.Server.Sdk.dll

public abstract class ServerModBase

Inheritance

objectServerModBase

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

IServerDependencyContainer

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

  • Constructors
    • ServerModBase()
  • Properties
    • Services
  • Methods
    • Init()
    • Initialize(IServerDependencyContainer)
    • InitializeAot(IComponentRegistry)
    • RegisterComponents(IComponentRegistry)