XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEEDToolBox

【WinUI】XFE精英危险工具箱

公开
关注 0 Fork 0 Star 0
UTF-8
using XFEEDToolBox.Core.Galaxy;

namespace XFEEDToolBox.Controls;

public sealed partial class GalaxyMapView
{
    public static readonly DependencyProperty CurrentTradeFlowsProperty=DependencyProperty.Register(nameof(CurrentTradeFlows),typeof(IReadOnlyList<GalaxyCurrentTradeRenderFlow>),typeof(GalaxyMapView),new PropertyMetadata(null,Changed));
    public IReadOnlyList<GalaxyCurrentTradeRenderFlow>? CurrentTradeFlows
    {get=>(IReadOnlyList<GalaxyCurrentTradeRenderFlow>?)GetValue(CurrentTradeFlowsProperty);set=>SetValue(CurrentTradeFlowsProperty,value);}

    // Original current-cache routes stay separate from the historical layer.
    internal bool OriginalCurrentTradeGeometryRestoredForProbe=>graphics?.OriginalCurrentTradeGeometryRestored==true;
    internal int SubmittedCurrentTradeRoutesForProbe=>graphics?.SubmittedCurrentTradeRoutes??0;
    internal int SubmittedCurrentTradeHotspotsForProbe=>graphics?.SubmittedCurrentTradeHotspots??0;
    internal bool HasOriginalCurrentTradeAnimationForProbe=>graphics?.HasOriginalCurrentTradeAnimation==true;
}