Exemplo n.º 1
0
 private void Update()
 {
     if (metaAISpanTimer.IsReady())
     {
         metaAI.Update();
     }
 }
 public void OnUpdate()
 {
     if (sendTimer.IsReady())
     {
         SendFieldDrop(null);
     }
 }
    private void Update()
    {
        if (isObserve)
        {
            if ((!IsValidParty() || !IsConnect()) && !queryInvalidRoom)
            {
                if (!checkInviteListDone)
                {
                    if (MonoBehaviourSingleton <UserInfoManager> .I.ExistsPartyInvite)
                    {
                        if (!isSendingInviteList)
                        {
                            if (!GameSceneEvent.IsStay())
                            {
                                GameSceneEvent.Stay();
                                isStayEvent = true;
                            }
                            MonoBehaviourSingleton <PartyManager> .I.SendInvitedParty(delegate
                            {
                                if (isStayEvent)
                                {
                                    GameSceneEvent.Resume(null);
                                }
                                checkInviteListDone = true;
                            }, false);

                            isSendingInviteList = true;
                        }
                    }
                    else
                    {
                        checkInviteListDone = true;
                    }
                }
                else
                {
                    string currentSectionName = MonoBehaviourSingleton <GameSceneManager> .I.GetCurrentSectionName();

                    if (section != null && section.sectionData != (GameSceneTables.SectionData)null && section.sectionData.sectionName == currentSectionName && MonoBehaviourSingleton <GameSceneManager> .I.IsEventExecutionPossible())
                    {
                        queryInvalidRoom = true;
                        if (dispatchCallBack != null)
                        {
                            dispatchCallBack("INVALID_ROOM");
                            OffObserve();
                        }
                    }
                }
            }
            else if (sendInfoSpan.IsReady())
            {
                Protocol.Try(delegate
                {
                    MonoBehaviourSingleton <PartyManager> .I.SendInfo(delegate
                    {
                    });
                });
            }
        }
    }
Exemplo n.º 4
0
 private void Update()
 {
     //IL_0017: Unknown result type (might be due to invalid IL or missing references)
     if (sendInfoSpan.IsReady())
     {
         this.StartCoroutine(SendLoungeInfoForce());
     }
 }
Exemplo n.º 5
0
	private void Update()
	{
		if (triggerSpan.IsReady())
		{
			_collider.set_enabled(false);
			_collider.set_enabled(true);
		}
	}
Exemplo n.º 6
0
 public void Update()
 {
     if (enemyPops != null && popSpanTimer.IsReady())
     {
         enemyPops.ForEach(delegate(CoopLocalServerEnemyPop epop)
         {
             epop.Update();
         });
     }
 }
Exemplo n.º 7
0
 public void Update()
 {
     if (current != null && processSpan.IsReady())
     {
         current.Process(this, brain);
     }
     if (_subFsm != null)
     {
         _subFsm.Update();
     }
 }
Exemplo n.º 8
0
 private void Update()
 {
     packetReceiver.OnUpdate();
     if (QuestManager.IsValidInGameExplore() && MonoBehaviourSingleton <InGameProgress> .IsValid() && MonoBehaviourSingleton <InGameProgress> .I.IsStartTimer() && timeCheckSpan.IsReady())
     {
         MonoBehaviourSingleton <CoopNetworkManager> .I.RoomTimeCheck(0f);
     }
     if (QuestManager.IsValidInGameExplore() && exploreAliveSpan.IsReady() && MonoBehaviourSingleton <CoopManager> .I.coopMyClient.isPartyOwner)
     {
         packetSender.SendExploreAlive();
     }
 }
Exemplo n.º 9
0
    protected override STATUS Process(Brain brain)
    {
        STATUS sTATUS = UpdateSubGoals(brain);

        if (sTATUS == STATUS.COMPLETED || sTATUS == STATUS.FAILED)
        {
            SetStatus(STATUS.INACTIVE);
        }
        if (choiceGoalSpanTimer != null && choiceGoalSpanTimer.IsReady())
        {
            ChoiceGoalFromEvaluator(brain);
        }
        return(status);
    }
Exemplo n.º 10
0
 private void LateUpdate()
 {
     if (mapCheckSpan != null && mapCheckSpan.IsReady())
     {
         UpdateNewMapUI();
     }
     if (MonoBehaviourSingleton <FilterManager> .IsValid())
     {
         if (base.uiPanels[1].depth != 0 && MonoBehaviourSingleton <FilterManager> .I.IsEnabledBlur())
         {
             base.uiPanels[1].depth = 0;
         }
         else if (base.uiPanels[1].depth == 0 && !MonoBehaviourSingleton <FilterManager> .I.IsEnabledBlur())
         {
             base.uiPanels[1].depth = base.baseDepth + base.uiPanelDepths[1] + 1;
         }
     }
 }