private void OnPickUpPetTaskRes(short state, PickUpPetTaskRes down = null)
 {
     this.IsSendPickUpPetTask = false;
     if (state != 0 || down == null)
     {
         StateManager.Instance.StateShow(state, 0);
         return;
     }
     this.UpdatePetTaskInfo(down.task);
     UIManagerControl.Instance.ShowToastText(GameDataUtils.GetChineseContent(513703, false));
     PetTaskFormationUIView.Close();
 }
 private void OnClickBtnClose()
 {
     PetTaskFormationUIView.Close();
 }