Files
CS2-SuperPowers/Cs2SuperPowersPluginDependencyInjection.cs
T
2026-07-26 23:47:38 +02:00

49 lines
2.2 KiB
C#

using CounterStrikeSharp.API.Core;
using Cs2SuperPowers.Players;
using Cs2SuperPowers.Powers;
using Cs2SuperPowers.Powers.Assign;
using Microsoft.Extensions.DependencyInjection;
namespace Cs2SuperPowers;
public class Cs2SuperPowersPluginDependencyInjection : IPluginServiceCollection<Cs2SuperPowersPlugin>
{
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<ISuperPower, RiseFromTheDead>();
services.AddSingleton<ISuperPower, FlashProof>();
services.AddSingleton<ISuperPower, IronHead>();
services.AddSingleton<ISuperPower, Phoenix>();
services.AddSingleton<ISuperPower, Rambo>();
services.AddSingleton<ISuperPower, ArmBreaker>();
services.AddSingleton<ISuperPower, Ghost>();
services.AddSingleton<ISuperPower, FinalMission>();
services.AddSingleton<ISuperPower, IAmChicken>();
services.AddSingleton<ISuperPower, OneShot>();
services.AddSingleton<ISuperPower, Vampire>();
services.AddSingleton<ISuperPower, BulletStorm>();
services.AddSingleton<ISuperPower, Twister>();
services.AddSingleton<ISuperPower, PowerThief>();
services.AddSingleton<ISuperPower, BlindingLight>();
services.AddSingleton<ISuperPower, FlashKing>();
services.AddSingleton<ISuperPower, IronBody>();
// mine
services.AddSingleton<ISuperPower, GoFast>();
services.AddSingleton<ISuperPower, TeleportOnKill>();
services.AddSingleton<ISuperPower, GrenadeLauncher>();
services.AddSingleton<ISuperPower, AirStrike>();
services.AddSingleton<ISuperPower, NotSoDecoy>();
services.AddSingleton<ISuperPower, PanicTeleport>();
services.AddSingleton<ISuperPower, Wallhack>();
services.AddSingleton<ISuperPower, DoubleJump>();
services.AddSingleton<ISuperPower, RandomTeleport>();
services.AddSingleton<ISuperPower, ExplosiveBullets>();
services.AddSingleton<ISuperPower, Shield>();
services.AddSingleton<ISuperPower, Jetpack>();
services.AddSingleton<ISuperPower, DroppedNades>();
services.AddSingleton<IPowerAssignLogic, RandomAssignLogic>();
services.AddSingleton<IPlayerHud, PlayerHud>();
}
}