Class CosmeticsModule
Owns cosmetic assets and player appearance contributions for each world.
public sealed class CosmeticsModule : BaseModule, IModule
- Inheritance
-
CosmeticsModule
- Implements
- Inherited Members
Fields
Id
public const string Id = "Shard.Gameplay:Cosmetics"
Field Value
Properties
Manifest
Gets the module's identity and dependency declaration.
public override ModuleManifest Manifest { get; }
Property Value
Methods
OnPreloadAsync(CancellationToken)
Performs asynchronous preload work that must complete before this module can start.
protected override Task OnPreloadAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenA token that is canceled when server startup is interrupted.
Returns
- Task
A task representing the asynchronous preload operation.
OnSetup()
Called during synchronous module setup after the module context has been assigned.
protected override void OnSetup()