Beispiel #1
0
 internal static void OutOfGamePulse()
 {
     ChangeMonitor.CheckForChanges();
     Player.UpdateOutOfGame();
     EventManager.Update();
     SelectBehavior();
 }
Beispiel #2
0
        internal static void Pulse()
        {
            try
            {
                if (!Player.IsValid)
                {
                    return;
                }

                ChangeMonitor.CheckForChanges();
                ActorHistory.UpdateActors();
                PositionCache.RecordPosition();

                // Mark Dungeon Explorer nodes as Visited if combat pulls us into it
                if (ProfileManager.CurrentProfileBehavior != null)
                {
                    Type profileBehaviorType = ProfileManager.CurrentProfileBehavior.GetType();
                    if (profileBehaviorType == typeof(ExploreDungeonTag))
                    {
                        ExploreDungeonTag exploreDungeonTag = (ExploreDungeonTag)ProfileManager.CurrentProfileBehavior;
                        exploreDungeonTag.MarkNearbyNodesVisited();
                    }
                }
                LoadOnceTag.RecordLoadOnceProfile();

                RiftTrial.PulseRiftTrial();
                CheckGamesPerHourStop();
                SkipCutScene();
                AdvanceConversation();
            }
            catch (Exception ex)
            {
                Logger.Log(ex.ToString());
            }
        }
Beispiel #3
0
 internal static void InGamePulse()
 {
     ChangeMonitor.CheckForChanges();
     Player.Update();
     SelectBehavior();
 }