public PartyController(IPartyManager manager, IOptions <AppSettings> settings, IOptions <ConnectionStrings> conStrings) { _partyManager = manager; _appSettings = settings.Value; _conStrings = conStrings.Value; _partyManager.SetConnectionString(_conStrings.DefaultConnection); }
public SearchPartyHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IGameWorld gameWorld, IPartyManager partyManager, IMapProvider mapProvider, ICountryProvider countryProvider) : base(packetFactory, gameSession) { _gameWorld = gameWorld; _partyManager = partyManager; _mapProvider = mapProvider; _countryProvider = countryProvider; }
public SkillsManager(ILogger <SkillsManager> logger, IGameDefinitionsPreloder definitionsPreloder, IDatabase database, IHealthManager healthManager, IAttackManager attackManager, IBuffsManager buffsManager, IStatsManager statsManager, IElementProvider elementProvider, ICountryProvider countryProvider, ICharacterConfiguration characterConfig, ILevelProvider levelProvider, IAdditionalInfoManager additionalInfoManager, IMapProvider mapProvider, ITeleportationManager teleportationManager, IMovementManager movementManager, IShapeManager shapeManager, IPartyManager partyManager, IGamePacketFactory packetFactory) { _logger = logger; _definitionsPreloder = definitionsPreloder; _database = database; _healthManager = healthManager; _attackManager = attackManager; _buffsManager = buffsManager; _statsManager = statsManager; _elementProvider = elementProvider; _countryProvider = countryProvider; _characterConfig = characterConfig; _levelProvider = levelProvider; _additionalInfoManager = additionalInfoManager; _mapProvider = mapProvider; _teleportationManager = teleportationManager; _movementManager = movementManager; _shapeManager = shapeManager; _partyManager = partyManager; _packetFactory = packetFactory; _levelProvider.OnLevelUp += OnLevelUp; #if DEBUG _logger.LogDebug("SkillsManager {hashcode} created", GetHashCode()); #endif }
public GMTeleportHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IGameWorld gameWorld, IMapsLoader mapLoader, ICountryProvider countryProvider, ITeleportationManager teleportationManager, IMovementManager movementManager, IPartyManager partyManager, IGuildManager guildManager) : base(packetFactory, gameSession) { _gameWorld = gameWorld; _mapLoader = mapLoader; _countryProvider = countryProvider; _teleportationManager = teleportationManager; _movementManager = movementManager; _partyManager = partyManager; _guildManager = guildManager; }
public CastProtectionManager(ILogger <CastProtectionManager> logger, IMovementManager movementManager, IPartyManager partyProvider, IGamePacketFactory packetFactory, IGameSession gameSession, IMapProvider mapProvider) { _logger = logger; _movementManager = movementManager; _partyProvider = partyProvider; _packetFactory = packetFactory; _gameSession = gameSession; _mapProvider = mapProvider; _checkProtectCastingSkill.Elapsed += CheckProtectCastingSkill_Elapsed; _checkProtectCastingSkill.Start(); #if DEBUG _logger.LogDebug("CastProtectionManager {hashcode} created", GetHashCode()); #endif }
public GuildManager(ILogger <IGuildManager> logger, IGuildConfiguration config, IGuildHouseConfiguration houseConfig, IDatabase database, IGameWorld gameWorld, ITimeService timeService, IInventoryManager inventoryManager, IPartyManager partyManager, ICountryProvider countryProvider, IEtinManager etinManager) { _logger = logger; _database = database; _gameWorld = gameWorld; _timeService = timeService; _inventoryManager = inventoryManager; _partyManager = partyManager; _countryProvider = countryProvider; _etinManager = etinManager; _config = config; _houseConfig = houseConfig; #if DEBUG _logger.LogDebug("GuildManager {hashcode} created", GetHashCode()); #endif }
public LevelingManager(ILogger <LevelingManager> logger, IDatabase database, ILevelProvider levelProvider, IAdditionalInfoManager additionalInfoManager, ICharacterConfiguration charConfig, IDatabasePreloader databasePreloader, IPartyManager partyManager, IMapProvider mapProvider, IMovementManager movementManager) { _logger = logger; _database = database; _levelProvider = levelProvider; _additionalInfoManager = additionalInfoManager; _characterConfig = charConfig; _databasePreloader = databasePreloader; _partyManager = partyManager; _mapProvider = mapProvider; _movementManager = movementManager; #if DEBUG _logger.LogDebug("LevelingManager {hashcode} created", GetHashCode()); #endif }
public QuestsManager(ILogger <QuestsManager> logger, IGameDefinitionsPreloder definitionsPreloader, IMapProvider mapProvider, IGameWorld gameWorld, IDatabase database, IPartyManager partyManager, IInventoryManager inventoryManager, IDatabasePreloader databasePreloader, IItemEnchantConfiguration enchantConfig, IItemCreateConfiguration itemCreateConfig, ILevelingManager levelingManager) { _logger = logger; _definitionsPreloader = definitionsPreloader; _mapProvider = mapProvider; _gameWorld = gameWorld; _database = database; _partyManager = partyManager; _inventoryManager = inventoryManager; _databasePreloader = databasePreloader; _enchantConfig = enchantConfig; _itemCreateConfig = itemCreateConfig; _levelingManager = levelingManager; #if DEBUG _logger.LogDebug("QuestsManager {hashcode} created", GetHashCode()); #endif }
public PartyChangeLeaderHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager) : base(packetFactory, gameSession) { _partyManager = partyManager; }
public PartySummonHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager, IGameWorld gameWorld, ITeleportationManager teleportationManager) : base(packetFactory, gameSession) { _partyManager = partyManager; _gameWorld = gameWorld; _teleportationManager = teleportationManager; }
public RaidKickHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager, IGameWorld gameWorld) : base(packetFactory, gameSession) { _partyManager = partyManager; _gameWorld = gameWorld; }
public RaidMovePlayerHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager) : base(packetFactory, gameSession) { _partyManager = partyManager; }
public PartyController(IPartyManager manager) { _manager = manager; }
public RaidJoinHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager, IGameWorld gameWorld, ICountryProvider countryProvider) : base(packetFactory, gameSession) { _partyManager = partyManager; _gameWorld = gameWorld; _countryProvider = countryProvider; }
public CharacterFactory(ILogger <ICharacterFactory> logger, IDatabase database, ILogger <Character> characterLogger, IGameWorld gameWorld, IDatabasePreloader databasePreloader, IGameDefinitionsPreloder definitionsPreloder, ICountryProvider countryProvider, ISpeedManager speedManager, IStatsManager statsManager, IHealthManager healthManager, ILevelProvider levelProvider, ILevelingManager levelingManager, IInventoryManager inventoryManager, ILinkingManager linkingManager, IGuildManager guildManager, IGameSession gameSession, IStealthManager stealthManager, IAttackManager attackManager, ISkillsManager skillsManager, IBuffsManager buffsManager, IElementProvider elementProvider, IKillsManager killsManager, IVehicleManager vehicleManager, IShapeManager shapeManager, IMovementManager movementManager, IAdditionalInfoManager additionalInfoManager, IMapProvider mapProvider, ITeleportationManager teleportationManager, IPartyManager partyManager, ITradeManager tradeManager, IFriendsManager friendsManager, IDuelManager duelManager, IBankManager bankManager, IQuestsManager questsManager, IUntouchableManager untouchableManager, IWarehouseManager warehouseManager, IShopManager shopManager, ISkillCastingManager skillCastingManager, ICastProtectionManager castProtectionManager, IGamePacketFactory packetFactory, UserManager <DbUser> userManager) { _logger = logger; _database = database; _characterLogger = characterLogger; _gameWorld = gameWorld; _databasePreloader = databasePreloader; _definitionsPreloder = definitionsPreloder; _countryProvider = countryProvider; _speedManager = speedManager; _statsManager = statsManager; _healthManager = healthManager; _levelProvider = levelProvider; _levelingManager = levelingManager; _inventoryManager = inventoryManager; _linkingManager = linkingManager; _guildManager = guildManager; _gameSession = gameSession; _stealthManager = stealthManager; _attackManager = attackManager; _skillsManager = skillsManager; _buffsManager = buffsManager; _elementProvider = elementProvider; _killsManager = killsManager; _vehicleManager = vehicleManager; _shapeManager = shapeManager; _movementManager = movementManager; _additionalInfoManager = additionalInfoManager; _mapProvider = mapProvider; _teleportationManager = teleportationManager; _partyManager = partyManager; _tradeManager = tradeManager; _friendsManager = friendsManager; _duelManager = duelManager; _bankManager = bankManager; _questsManager = questsManager; _untouchableManager = untouchableManager; _warehouseManager = warehouseManager; _shopManager = shopManager; _skillCastingManager = skillCastingManager; _castProtectionManager = castProtectionManager; _packetFactory = packetFactory; _userManager = userManager; }
public Character(ILogger <Character> logger, IDatabasePreloader databasePreloader, IGuildManager guildManager, ICountryProvider countryProvider, ISpeedManager speedManager, IStatsManager statsManager, IAdditionalInfoManager additionalInfoManager, IHealthManager healthManager, ILevelProvider levelProvider, ILevelingManager levelingManager, IInventoryManager inventoryManager, IStealthManager stealthManager, IAttackManager attackManager, ISkillsManager skillsManager, IBuffsManager buffsManager, IElementProvider elementProvider, IKillsManager killsManager, IVehicleManager vehicleManager, IShapeManager shapeManager, IMovementManager movementManager, ILinkingManager linkinManager, IMapProvider mapProvider, ITeleportationManager teleportationManager, IPartyManager partyManager, ITradeManager tradeManager, IFriendsManager friendsManager, IDuelManager duelManager, IBankManager bankManager, IQuestsManager questsManager, IUntouchableManager untouchableManager, IWarehouseManager warehouseManager, IShopManager shopManager, ISkillCastingManager skillCastingManager, ICastProtectionManager castProtectionManager, IGameSession gameSession, IGamePacketFactory packetFactory) : base(databasePreloader, countryProvider, statsManager, healthManager, levelProvider, buffsManager, elementProvider, movementManager, untouchableManager, mapProvider) { _logger = logger; _packetFactory = packetFactory; AdditionalInfoManager = additionalInfoManager; InventoryManager = inventoryManager; StealthManager = stealthManager; LevelingManager = levelingManager; SpeedManager = speedManager; AttackManager = attackManager; SkillsManager = skillsManager; KillsManager = killsManager; VehicleManager = vehicleManager; ShapeManager = shapeManager; LinkingManager = linkinManager; TeleportationManager = teleportationManager; PartyManager = partyManager; TradeManager = tradeManager; FriendsManager = friendsManager; DuelManager = duelManager; GuildManager = guildManager; BankManager = bankManager; QuestsManager = questsManager; WarehouseManager = warehouseManager; ShopManager = shopManager; SkillCastingManager = skillCastingManager; CastProtectionManager = castProtectionManager; GameSession = gameSession; HealthManager.MP_SP_Used += SendUseMPSP; HealthManager.OnCurrentHitpointsChanged += SendCurrentHitpoints; StatsManager.OnAdditionalStatsUpdate += SendAdditionalStats; StatsManager.OnResetStats += SendResetStats; BuffsManager.OnBuffAdded += SendAddBuff; BuffsManager.OnBuffRemoved += SendRemoveBuff; AttackManager.OnStartAttack += SendAttackStart; VehicleManager.OnUsedVehicle += SendUseVehicle; SkillsManager.OnResetSkills += SendResetSkills; InventoryManager.OnAddItem += SendAddItemToInventory; InventoryManager.OnRemoveItem += SendRemoveItemFromInventory; InventoryManager.OnItemExpired += SendItemExpired; AttackManager.TargetOnBuffAdded += SendTargetAddBuff; AttackManager.TargetOnBuffRemoved += SendTargetRemoveBuff; DuelManager.OnDuelResponse += SendDuelResponse; DuelManager.OnStart += SendDuelStart; DuelManager.OnCanceled += SendDuelCancel; DuelManager.OnFinish += SendDuelFinish; LevelingManager.OnExpChanged += SendExperienceGain; QuestsManager.OnQuestMobCountChanged += SendQuestCountUpdate; QuestsManager.OnQuestFinished += SendQuestFinished; ShopManager.OnUseShopClosed += SendUseShopClosed; ShopManager.OnUseShopItemCountChanged += SendUseShopItemCountChanged; ShopManager.OnSoldItem += SendSoldItem; Bless.Instance.OnDarkBlessChanged += OnDarkBlessChanged; Bless.Instance.OnLightBlessChanged += OnLightBlessChanged; }
public RaidChangeAutoInviteHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager) : base(packetFactory, gameSession) { _partyManager = partyManager; }
public RaidDismantleHandler(IGamePacketFactory packetFactory, IGameSession gameSession, IPartyManager partyManager) : base(packetFactory, gameSession) { _partyManager = partyManager; }
public PartiesController(IPartyManager partyManager) { _partyManager = partyManager; }