예제 #1
0
 public NpcDomain(IInventoryRepository inventoryRepo, IConfigRepository configRepo, InventoryDomain inventoryDomain, INpcStateRepository npcStateRepo, ITransactionScopeFactory transactionScopeFactory)
 {
     InventoryRepo           = inventoryRepo;
     ConfigRepo              = configRepo;
     InventoryDomain         = inventoryDomain;
     TransactionScopeFactory = transactionScopeFactory;
     this.npcStateRepo       = npcStateRepo;
 }
예제 #2
0
 public EventDomain(UserDomain userDomain, IHubContext <NotificationHub, IUserClient> hubContext, IRandomEventRepository randomEvents,
                    InventoryDomain inventoryDomain, ITransactionScopeFactory transactionScopeFactory)
 {
     UserDomain              = userDomain;
     HubContext              = hubContext;
     RandomEvents            = randomEvents;
     InventoryDomain         = inventoryDomain;
     TransactionScopeFactory = transactionScopeFactory;
 }
예제 #3
0
 public ShopDomain(IShopRepository shopRepo, IInventoryRepository inventoryRepo, IConfigRepository configRepo,
                   UserDomain userDomain, InventoryDomain inventoryDomain, ITransactionScopeFactory transactionScopeFactory)
 {
     InventoryRepo           = inventoryRepo;
     ShopRepo                = shopRepo;
     ConfigRepo              = configRepo;
     UserDomain              = userDomain;
     InventoryDomain         = inventoryDomain;
     TransactionScopeFactory = transactionScopeFactory;
 }