示例#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
 public L2Spawn(NpcTemplate template, IdFactory idFactory, SpawnTable spawnTable)
 {
     Template    = template ?? throw new ArgumentNullException(nameof(template));
     _idFactory  = idFactory;
     _spawnTable = spawnTable;
 }