Example #1
0
        /// <summary>
        /// Updates the presence area
        /// </summary>
        public void PresenceUpdateArea(string areaName)
        {
            // Update character data on area change
            RequestCharacterUpdate();
            AreaMatcher.Match(areaName, out _currentArea);

            _presence.Assets.SmallImageKey = _currentArea.Key;
            _presence.Timestamps           = _settings.ShowElapsedTime ? Timestamps.Now : null;
            _presence.State = null;
            PresenceUpdateSmallImageText();
            _hasUpdate = true;
        }
Example #2
0
        /// <summary>
        /// Updates the presence area
        /// </summary>
        public void PresenceUpdateArea(string areaName)
        {
            // Update character data on area change
            RequestCharacterUpdate();
            AreaMatcher.Match(areaName, out _currentArea);

            _presence.Assets.SmallImageKey = _currentArea.Key;
            _presence.State = null;
            UpdateTimeStamp();
            PresenceUpdateSmallImageText();
            _hasUpdate = true;
        }