private void OnChooseMaterialShip(object o, SelectWeaponArgs a)
 {
     base.showActionGO.SetActive(true);
     this.OnShowThis(EventArgs.Empty);
     base.showActionGO.GetComponent<AnimatePosition>().StartMove();
     if (a.type == SelectShipType.Close)
     {
         base.UpdateAllWeapons();
         base.UpdateAllProps();
     }
     else if (a.userEquips != null)
     {
         this.ReqChangeEquip(base.selectedEqupIndex, a.userEquips[0].id);
     }
 }
 private void OnChooseMaterialShip(object o, SelectWeaponArgs a)
 {
     this.showActionGO.SetActive(true);
     this.showActionGO.GetComponent<AnimatePosition>().StartMove();
     if (a.type == SelectShipType.Close)
     {
         this.UpdateUIContents();
     }
     else if (a.userEquips != null)
     {
         this.materialEquips = a.userEquips;
         this.UpdateUIContents();
     }
     else
     {
         this.materialEquips = new List<UserEquipment>();
         this.UpdateUIContents();
     }
 }