public IGoodSlotItem CreateSlot(Int32 goodId)
        {
            var data = new Emulate_IGoodSlotItem();

            data.InitData(_factory.CreateSlot(goodId), _storage);
            return(data);
        }
Пример #2
0
 public void InitData(IGoodGroupSlotItem data, ChangeStorage storage)
 {
     _storage = storage;
     _Value   = data.Value.Select(x =>
     {
         var internalElement = new Emulate_IGoodSlotItem();
         internalElement.InitData(x, storage);
         return(internalElement);
     }
                                  ).ToArray();
 }