/// <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; }
/// <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; }