private SlotitemModel[] CreateModelArray(bool isExSlot)
        {
            SlotitemModel[]      array = isExSlot ? mRemodelManager.GetSlotitemExList(mTargetShipModel.MemId) : mRemodelManager.GetSlotitemList(mTargetShipModel.MemId, slotitemCategory);
            List <SlotitemModel> list  = new List <SlotitemModel>(array);

            SlotitemUtil.Sort(list, SlotitemUtil.SlotitemSortKey.Type3);
            if (array.Length == 0)
            {
                mMessage.localScale = Vector3.one;
            }
            else
            {
                mMessage.localScale = Vector3.zero;
            }
            return(list.ToArray());
        }
        private SlotitemModel[] CreateModelArray(bool isExSlot)
        {
            SlotitemModel[] array;
            if (!isExSlot)
            {
                array = this.mRemodelManager.GetSlotitemList(this.mTargetShipModel.MemId, this.slotitemCategory);
            }
            else
            {
                array = this.mRemodelManager.GetSlotitemExList(this.mTargetShipModel.MemId);
            }
            List <SlotitemModel> list = new List <SlotitemModel>(array);

            SlotitemUtil.Sort(list, SlotitemUtil.SlotitemSortKey.Type3);
            if (array.Length == 0)
            {
                this.mMessage.set_localScale(Vector3.get_one());
            }
            else
            {
                this.mMessage.set_localScale(Vector3.get_zero());
            }
            return(list.ToArray());
        }
Esempio n. 3
0
 private void _UpdateUnsetSlotitems()
 {
     _unset_slotitem = SlotitemUtil.__GetUnsetSlotitems__();
     SlotitemUtil.Sort(_unset_slotitem, SlotitemUtil.SlotitemSortKey.Type3);
 }