public RemodeModernizationShipTargetListChild(RemodeModernizationShipTargetListChild.ListItemOption option, ShipModel model)
 {
     this.mOption    = option;
     this.mShipModel = model;
     if (model != null)
     {
         this.mType = ((0 >= model.PowUpKaryoku) ? 0 : 16) + ((0 >= model.PowUpRaisou) ? 0 : 8) + ((0 >= model.PowUpSoukou) ? 0 : 4) + ((0 >= model.PowUpTaikuu) ? 0 : 2) + ((0 >= model.PowUpLucky) ? 0 : 1);
     }
     else
     {
         this.mType = 0;
     }
 }
Exemplo n.º 2
0
 protected override void InitializeChildContents(RemodeModernizationShipTargetListChild childData, bool clickable)
 {
     RemodeModernizationShipTargetListChild.ListItemOption mOption = childData.mOption;
     if (mOption != RemodeModernizationShipTargetListChild.ListItemOption.Model)
     {
         if (mOption == RemodeModernizationShipTargetListChild.ListItemOption.UnSet)
         {
             this.InitializeUnset();
         }
     }
     else
     {
         this.InitializeModel(childData.mShipModel);
     }
 }