Class FactionDataStore
public class FactionDataStore : IFactionDataStore, IHostedService
- Inheritance
-
FactionDataStore
- Implements
- Inherited Members
- Extension Methods
Constructors
FactionDataStore(IServiceProvider)
public FactionDataStore(IServiceProvider serviceProvider)
Parameters
serviceProviderIServiceProvider
Properties
Factions
List of all registered factions.
public IReadOnlyList<FactionInfo> Factions { get; }
Property Value
Methods
ReloadCache(CancellationToken)
Reload Factions from wherever it's stored.
public Task ReloadCache(CancellationToken token = default)
Parameters
tokenCancellationToken