can drag chat tabs around as much as u want
syncshell tabs can use notes instead by rightclicking and prefering it added some visibility settings (hide in combat, etc) and cleaned up some of the ui
This commit is contained in:
@@ -239,6 +239,7 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
|
||||
public bool IsInCombat { get; private set; } = false;
|
||||
public bool IsPerforming { get; private set; } = false;
|
||||
public bool IsInInstance { get; private set; } = false;
|
||||
public bool IsInDuty => _condition[ConditionFlag.BoundByDuty];
|
||||
public bool HasModifiedGameFiles => _gameData.HasModifiedGameDataFiles;
|
||||
public uint ClassJobId => _classJobId!.Value;
|
||||
public Lazy<Dictionary<uint, string>> JobData { get; private set; }
|
||||
@@ -248,6 +249,32 @@ public class DalamudUtilService : IHostedService, IMediatorSubscriber
|
||||
public bool IsLodEnabled { get; private set; }
|
||||
public LightlessMediator Mediator { get; }
|
||||
|
||||
public bool IsInFieldOperation
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!IsInDuty)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
var territoryId = _clientState.TerritoryType;
|
||||
if (territoryId == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!TerritoryData.Value.TryGetValue(territoryId, out var name) || string.IsNullOrWhiteSpace(name))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return name.Contains("Eureka", StringComparison.OrdinalIgnoreCase)
|
||||
|| name.Contains("Bozja", StringComparison.OrdinalIgnoreCase)
|
||||
|| name.Contains("Zadnor", StringComparison.OrdinalIgnoreCase);
|
||||
}
|
||||
}
|
||||
|
||||
public IGameObject? CreateGameObject(IntPtr reference)
|
||||
{
|
||||
EnsureIsOnFramework();
|
||||
|
||||
Reference in New Issue
Block a user