public NpcController( INpcService npcService, IMapper mapper ) { _npcService = npcService; _mapper = mapper; }
public void Setup(string roomId) { this.roomId = roomId; //this.parent = parent; Clear(); INpcService npcService = engine.GetService <INpcService>(); foreach (BuffData data in npcService.GetBuffs(roomId)) { AddView(data); } //gameObject.GetOrAdd<RectTransformBinding>().Bind(parent, offset, 0.3f); }
public LocationService( IWorld world, IClientManager clientManager, ICombatService combatService, INpcService npcService, IEncounterService encounterService) { _world = world; _clientManager = clientManager; _combatService = combatService; _npcService = npcService; _encounterService = encounterService; }
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; }
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(); }
public EncounterService(INpcService npcService, ICombatService combatService) { _npcService = npcService; _combatService = combatService; }