using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Plugin.PlayerLogs.Core; using Plugin.PlayerLogs.Enrichers; using Plugin.PlayerLogs.Enrichers.Act4; using Plugin.PlayerLogs.Enrichers.Bazaar; using Plugin.PlayerLogs.Enrichers.Family; using Plugin.PlayerLogs.Enrichers.Inventory; using Plugin.PlayerLogs.Enrichers.LevelUp; using Plugin.PlayerLogs.Enrichers.Mail; using Plugin.PlayerLogs.Enrichers.Miniland; using Plugin.PlayerLogs.Enrichers.Npc; using Plugin.PlayerLogs.Enrichers.Player; using Plugin.PlayerLogs.Enrichers.Quest; using Plugin.PlayerLogs.Enrichers.Raid; using Plugin.PlayerLogs.Enrichers.RainbowBattle; using Plugin.PlayerLogs.Enrichers.Shop; using Plugin.PlayerLogs.Enrichers.Upgrade; using Plugin.PlayerLogs.Messages; using Plugin.PlayerLogs.Messages.Act4; using Plugin.PlayerLogs.Messages.Bazaar; using Plugin.PlayerLogs.Messages.Family; using Plugin.PlayerLogs.Messages.Inventory; using Plugin.PlayerLogs.Messages.LevelUp; using Plugin.PlayerLogs.Messages.Mail; using Plugin.PlayerLogs.Messages.Miniland; using Plugin.PlayerLogs.Messages.Npc; using Plugin.PlayerLogs.Messages.Player; using Plugin.PlayerLogs.Messages.Quest; using Plugin.PlayerLogs.Messages.Raid; using Plugin.PlayerLogs.Messages.RainbowBattle; using Plugin.PlayerLogs.Messages.Shop; using Plugin.PlayerLogs.Messages.Upgrade; using WingsAPI.Plugins; using WingsEmu.Game; using WingsEmu.Game.Act4.Event; using WingsEmu.Game.Bazaar.Events; using WingsEmu.Game.Characters.Events; using WingsEmu.Game.Chat; using WingsEmu.Game.Exchange.Event; using WingsEmu.Game.Families.Event; using WingsEmu.Game.Groups.Events; using WingsEmu.Game.Inventory.Event; using WingsEmu.Game.Logs; using WingsEmu.Game.Mails.Events; using WingsEmu.Game.Miniland.Events; using WingsEmu.Game.Npcs.Event; using WingsEmu.Game.Quests.Event; using WingsEmu.Game.Raids.Events; using WingsEmu.Game.RainbowBattle.Event; using WingsEmu.Game.Revival; using WingsEmu.Game.Shops.Event; using WingsEmu.Game.Warehouse.Events; namespace Plugin.PlayerLogs { public class PlayerLoggingDependencyPlugin : IGameServerPlugin { public string Name => nameof(PlayerLoggingDependencyPlugin); public void AddDependencies(IServiceCollection services, GameServerLoader gameServer) { services.AddSingleton(); services.AddSingleton(provider => (PlayerLogManager)provider.GetService()); // Act4 services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // anticheat services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Commands services.AddPlayerLog(); services.AddPlayerLog(); // Level ups services.AddPlayerLog(); services.AddPlayerLog(); // Families services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Warehouse services.AddPlayerLog(); services.AddPlayerLog(); // Mini-games services.AddPlayerLog(); services.AddPlayerLog(); // Items services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Raid Management services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Raid Actions services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Quests //services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); //services.AddPlayerLog(); // Shops services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Inventory services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Invitations services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Bazaar services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); // Mails services.AddPlayerLog(); services.AddPlayerLog(); // Notes services.AddPlayerLog(); // Npc services.AddPlayerLog(); // Rainbow Battle services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); services.AddPlayerLog(); } } }