public void SetSlotData(SlotitemModel_Battle[] models, ProdTranscendenceCutIn.AnimationList iList)
        {
            switch (iList)
            {
            case ProdTranscendenceCutIn.AnimationList.ProdTAMainBatteryx3:
            {
                int num = 0;
                for (int i = 0; i < models.Length; i++)
                {
                    SlotitemModel_Battle slotItem = models[i];
                    if (this._listSlots.get_Item(num) != null)
                    {
                        this._listSlots.get_Item(num).SetSlotItem(slotItem);
                        num++;
                    }
                }
                break;
            }

            case ProdTranscendenceCutIn.AnimationList.ProdTATorpedox2:
            {
                int num2 = 0;
                using (List <ProdShellingSlot.Slot> .Enumerator enumerator = this._listSlots.GetEnumerator())
                {
                    while (enumerator.MoveNext())
                    {
                        ProdShellingSlot.Slot current = enumerator.get_Current();
                        if (num2 == 0)
                        {
                            current.SetSlotItem(models[0]);
                        }
                        else if (num2 > 0)
                        {
                            current.SetSlotItem(models[1]);
                        }
                        num2++;
                    }
                }
                break;
            }

            case ProdTranscendenceCutIn.AnimationList.ProdTAMainBatteryNTorpedo:
            {
                int num3 = 0;
                for (int j = 0; j < models.Length; j++)
                {
                    SlotitemModel_Battle slotItem2 = models[j];
                    if (this._listSlots.get_Item(num3) != null)
                    {
                        this._listSlots.get_Item(num3).SetSlotItem(slotItem2);
                        num3++;
                    }
                }
                break;
            }
            }
        }
 private void ResetRotation()
 {
     using (List <ProdShellingSlot.Slot> .Enumerator enumerator = this._listSlots.GetEnumerator())
     {
         while (enumerator.MoveNext())
         {
             ProdShellingSlot.Slot current = enumerator.get_Current();
             current.transform.set_localRotation(Quaternion.get_identity());
         }
     }
     using (List <UITexture> .Enumerator enumerator2 = this._listOverlay.GetEnumerator())
     {
         while (enumerator2.MoveNext())
         {
             UITexture current2 = enumerator2.get_Current();
             current2.get_transform().set_localRotation(Quaternion.get_identity());
         }
     }
 }