public StreetFights(IResolutionRoot kernel) { _gtaCharacter = kernel.Get <IGtaCharacter>(); _playerInfoManager = kernel.Get <IPlayerInfoManager>(); _inventoryManager = kernel.Get <IInventoryManager>(); _workEquipmentManager = kernel.Get <IWorkEquipmentManager>(); }
public LoginManager( IAccountsProvider accountsProvider, IPlayersProvider playersProvider, IPlayersAppearanceProvider playersAppearanceProvider, IPlayerInfoManager playerInfoManager, IVehicleManager vehicleManager, IVehicleInfoManager vehicleInfoManager, IJailManager jailManager, ICreatingCharManager creatingCharManager, IGtaCharacter gtaCharacter, IInventoryManager inventoryManager, IGiftsManager giftsManager) { _accountsProvider = accountsProvider; _playersProvider = playersProvider; _playerInfoManager = playerInfoManager; _vehicleManager = vehicleManager; _vehicleInfoManager = vehicleInfoManager; _playersAppearanceProvider = playersAppearanceProvider; _jailManager = jailManager; _creatingCharManager = creatingCharManager; _gtaCharacter = gtaCharacter; _inventoryManager = inventoryManager; _giftsManager = giftsManager; }
protected GameEvent() { PlayerInfoManager = ServerKernel.Kernel.Get <IPlayerInfoManager>(); GtaCharacter = ServerKernel.Kernel.Get <IGtaCharacter>(); _inventoryManager = ServerKernel.Kernel.Get <IInventoryManager>(); _workEquipmentManager = ServerKernel.Kernel.Get <IWorkEquipmentManager>(); }
public PlayerInfoManager(IAccountsProvider accountsProvider, IPlayersProvider playersProvider, IVehiclesProvider vehiclesProvider, IGtaCharacter gtaCharacter, IOpportunitiesNotifier opportunitiesNotifier) { _accountsProvider = accountsProvider; _playersProvider = playersProvider; _vehiclesProvider = vehiclesProvider; _gtaCharacter = gtaCharacter; _opportunitiesNotifier = opportunitiesNotifier; }
public CreatingCharManager(IPlayersProvider playersProvider, IPlayersAppearanceProvider playersAppearanceProvider, IPlayerInfoManager playerInfoManager, IGtaCharacter gtaCharacter, IGiftsManager giftsManager) { _playersProvider = playersProvider; _playersAppearanceProvider = playersAppearanceProvider; _playerInfoManager = playerInfoManager; _gtaCharacter = gtaCharacter; _giftsManager = giftsManager; ClientEventHandler.Add(ClientEvent.SAVE_CHARACTER, SaveCharacter); }
public WorkEquipmentManager(IPlayerInfoManager playerInfoManager, IWorkInfoManager workInfoManager, IGtaCharacter gtaCharacter) { _playerInfoManager = playerInfoManager; _workInfoManager = workInfoManager; _gtaCharacter = gtaCharacter; }
public DressingRoomMenuHandler(IPlayerInfoManager playerInfoManager, IGtaCharacter gtaCharacter, IClanManager clanManager) { _playerInfoManager = playerInfoManager; _gtaCharacter = gtaCharacter; _clanManager = clanManager; }