Beispiel #1
0
 private void CheckPlayableTeams(QuestParam quest, List <PartyEditData> teams, List <SupportData> supports = null)
 {
     if (!UnityEngine.Object.op_Inequality((UnityEngine.Object) this.StartButton, (UnityEngine.Object)null))
     {
         return;
     }
     ((Selectable)this.StartButton).set_interactable(PartyUtility.ValidateOrdealTeams(quest, teams, supports, true));
 }
Beispiel #2
0
        private void StartQuest()
        {
            List <PartyEditData> ordealParties  = GlobalVars.OrdealParties;
            List <SupportData>   ordealSupports = GlobalVars.OrdealSupports;

            if (!PartyUtility.ValidateOrdealTeams(this.mCurrentQuest, ordealParties, ordealSupports, false) || PartyUtility.CheckWarningForOrdealTeams(ordealParties, (Action)(() => FlowNode_GameObject.ActivateOutputLinks((Component)this, 1000))))
            {
                return;
            }
            FlowNode_GameObject.ActivateOutputLinks((Component)this, 1000);
        }