예제 #1
0
 public ItemTable(ICrudService <ItemContract> itemCrudService,
                  ICrudService <ArmorContract> armorCrudService,
                  ICrudService <WeaponContract> weaponCrudService,
                  ICrudService <EtcItemContract> etcItemCrudService,
                  IdFactory idFactory)
 {
     _itemCrudService    = itemCrudService;
     _armorCrudService   = armorCrudService;
     _weaponCrudService  = weaponCrudService;
     _etcItemCrudService = etcItemCrudService;
     _idFactory          = idFactory;
 }
예제 #2
0
 public SpawnTable(IServerService serverService, IdFactory idFactory, Config.Config config)
 {
     _config        = config;
     _serverService = serverService;
     _idFactory     = idFactory;
 }
예제 #3
0
 public ItemTable(IItemService itemService, IdFactory idFactory)
 {
     _itemService = itemService;
     _idFactory   = idFactory;
 }
예제 #4
0
파일: L2Spawn.cs 프로젝트: nihrom/L2dotNET
 public L2Spawn(NpcTemplate template, IdFactory idFactory, SpawnTable spawnTable)
 {
     Template    = template ?? throw new ArgumentNullException(nameof(template));
     _idFactory  = idFactory;
     _spawnTable = spawnTable;
 }