Beispiel #1
0
 public GalaxyHub(IAuthenticationService authService, IObjectService objectService, IGameService gameService, IMapService mapService, ILootService lootService)
 {
     _lootService   = lootService;
     _authService   = authService;
     _gameService   = gameService;
     _objectService = objectService;
     _mapService    = mapService;
 }
 public LootController(
     ILootService lootService,
     IMapper mapper
     )
 {
     _lootService = lootService;
     _mapper      = mapper;
 }
Beispiel #3
0
 public OnCreatureEvent(ISkillService skill,
                        ILootService loot,
                        IBehaviourService behaviour)
 {
     Self       = NWCreature.Wrap(Object.OBJECT_SELF);
     _skill     = skill;
     _loot      = loot;
     _behaviour = behaviour;
 }
Beispiel #4
0
 public Outpost(IEntityServices entityServices,
                ICorporationManager corporationManager,
                IChannelManager channelManager,
                ILootService lootService,
                ICentralBank centralBank,
                IRobotTemplateRelations robotTemplateRelations,
                DockingBaseHelper dockingBaseHelper) : base(channelManager, centralBank, robotTemplateRelations, dockingBaseHelper)
 {
     _entityServices     = entityServices;
     _corporationManager = corporationManager;
     _lootService        = lootService;
 }
Beispiel #5
0
 public OnDeath(
     ISkillService skill,
     ILootService loot,
     IQuestService quest,
     ICreatureCorpseService creatureCorpse,
     AppCache cache)
 {
     _skill          = skill;
     _loot           = loot;
     _quest          = quest;
     _creatureCorpse = creatureCorpse;
     _cache          = cache;
 }
 public OnHeartbeat(
     INWScript script,
     IDataService data,
     IBaseService @base,
     ILootService loot,
     ISerializationService serialization)
 {
     _              = script;
     _data          = data;
     _base          = @base;
     _loot          = loot;
     _serialization = serialization;
 }
Beispiel #7
0
        public LootLogger()
        {
            this._lootService        = new LootService();
            this._eventHandler       = new PacketHandler(this._lootService);
            this.photonPacketHandler = new PhotonPacketHandler(this._eventHandler);

            new Thread(delegate()
            {
                this.CreateListener();
            }).Start();

            Console.WriteLine(Strings.WelcomeMessage);
        }
 public ChangeNotifierHub(
     IHubGroupUtil hubGroupUtil,
     ICharacterService characterService,
     IGroupService groupService,
     ILootService lootService,
     IMonsterService monsterService
     )
 {
     _hubGroupUtil     = hubGroupUtil;
     _characterService = characterService;
     _groupService     = groupService;
     _lootService      = lootService;
     _monsterService   = monsterService;
 }
Beispiel #9
0
        public LootLogger(CommandContext ctx)
        {
            this._lootService        = new LootService();
            this._eventHandler       = new PacketHandler(this._lootService);
            this.photonPacketHandler = new PhotonPacketHandler(this._eventHandler);
            this.ctx = ctx;

            new Thread(delegate()
            {
                this.CreateListener();
            }).Start();
            ctx.Channel.SendMessageAsync("Starting Network monitoring");
            //Console.WriteLine(Strings.WelcomeMessage);
        }
 public GroupsController(
     IGroupService groupService,
     ILootService lootService,
     IMonsterService monsterService,
     IEventService eventService,
     IMapper mapper,
     INpcService npcService
     )
 {
     _groupService   = groupService;
     _lootService    = lootService;
     _monsterService = monsterService;
     _eventService   = eventService;
     _mapper         = mapper;
     _npcService     = npcService;
 }
Beispiel #11
0
 public OnOpened(INWScript script,
                 ISkillService skill,
                 IPerkService perk,
                 IRandomService random,
                 IColorTokenService color,
                 ILootService loot,
                 IFoodService food,
                 IFarmingService farming)
 {
     _        = script;
     _skill   = skill;
     _perk    = perk;
     _random  = random;
     _color   = color;
     _loot    = loot;
     _food    = food;
     _farming = farming;
 }
Beispiel #12
0
 public OnOpened(INWScript script,
                 ISkillService skill,
                 IPerkService perk,
                 IRandomService random,
                 IColorTokenService color,
                 ILootService loot,
                 IFarmingService farming,
                 IPlayerStatService playerStat)
 {
     _           = script;
     _skill      = skill;
     _perk       = perk;
     _random     = random;
     _color      = color;
     _loot       = loot;
     _farming    = farming;
     _playerStat = playerStat;
 }
Beispiel #13
0
        public void SetUp()
        {
            _groupService   = Substitute.For <IGroupService>();
            _lootService    = Substitute.For <ILootService>();
            _monsterService = Substitute.For <IMonsterService>();
            _eventService   = Substitute.For <IEventService>();
            _mapper         = Substitute.For <IMapper>();
            _npcService     = Substitute.For <INpcService>();

            _controller = new GroupsController(
                _groupService,
                _lootService,
                _monsterService,
                _eventService,
                _mapper,
                _npcService
                );

            _executionContext = new NaheulbookExecutionContext();
        }
Beispiel #14
0
 public PacketHandler(ILootService lootService)
 {
     this.lootService = lootService;
     client           = new HttpClient();
 }