13 lines
520 B
C#
13 lines
520 B
C#
namespace NeonSprawl.Server.Game.Combat;
|
|
|
|
/// <summary>Registers session player combat health store (NEO-95).</summary>
|
|
public static class PlayerCombatHealthServiceCollectionExtensions
|
|
{
|
|
/// <summary>Registers <see cref="IPlayerCombatHealthStore"/> as an in-memory singleton.</summary>
|
|
public static IServiceCollection AddPlayerCombatHealthStore(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<IPlayerCombatHealthStore, InMemoryPlayerCombatHealthStore>();
|
|
return services;
|
|
}
|
|
}
|