Table of Contents

Class FactionDataStore

Namespace
Uncreated.Warfare.Teams
Assembly
Uncreated.Warfare.dll
public class FactionDataStore : IFactionDataStore, IHostedService
Inheritance
FactionDataStore
Implements
Inherited Members
Extension Methods

Constructors

FactionDataStore(IServiceProvider)

public FactionDataStore(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

Properties

Factions

List of all registered factions.

public IReadOnlyList<FactionInfo> Factions { get; }

Property Value

IReadOnlyList<FactionInfo>

Methods

ReloadCache(CancellationToken)

Reload Factions from wherever it's stored.

public Task ReloadCache(CancellationToken token = default)

Parameters

token CancellationToken

Returns

Task