mirror of
https://github.com/edgegamers/Gangs.git
synced 2025-12-05 20:40:30 -08:00
24 lines
919 B
C#
24 lines
919 B
C#
using Commands;
|
|
using CounterStrikeSharp.API.Core;
|
|
using GangsAPI.Extensions;
|
|
using GangsAPI.Services;
|
|
using GangsAPI.Services.Commands;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Mock;
|
|
using SQLImpl;
|
|
|
|
namespace GangsImpl;
|
|
|
|
public class GangServiceCollection : IPluginServiceCollection<CS2Gangs> {
|
|
public void ConfigureServices(IServiceCollection serviceCollection) {
|
|
serviceCollection.AddPluginBehavior<IGangManager, MockGangManager>();
|
|
serviceCollection.AddPluginBehavior<IPlayerManager, MockPlayerManager>();
|
|
serviceCollection.AddPluginBehavior<IStatManager, MockStatManager>();
|
|
serviceCollection
|
|
.AddPluginBehavior<IGangStatManager, MockInstanceStatManager>();
|
|
serviceCollection
|
|
.AddPluginBehavior<IPlayerStatManager, MockInstanceStatManager>();
|
|
serviceCollection.RegisterCommands();
|
|
serviceCollection.AddPluginBehavior<ICommandManager, CommandManager>();
|
|
}
|
|
} |