refactor(app): compose interaction and retained UI startup
This commit is contained in:
parent
f663b04a54
commit
aa6ffa5176
15 changed files with 2157 additions and 467 deletions
|
|
@ -51,12 +51,27 @@ internal interface IWorldSelectionQuery
|
|||
Vector3? GetCombatCameraTargetPoint(uint serverGuid);
|
||||
}
|
||||
|
||||
internal interface IRetainedUiSelectionQuery
|
||||
{
|
||||
bool ShouldShowHealth(uint serverGuid);
|
||||
VividTargetInfo? ResolveVividTargetInfo(uint serverGuid);
|
||||
bool IsWithinExternalContainerUseRange(uint serverGuid);
|
||||
}
|
||||
|
||||
internal interface ISelectionViewPlaneSource
|
||||
{
|
||||
AcDream.App.Rendering.ICamera ApplyViewPlane(
|
||||
AcDream.App.Rendering.ICamera camera);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Read-only owner for retail world selection and interaction classification.
|
||||
/// It consumes the canonical live-entity runtime but never mutates selection,
|
||||
/// movement, inventory, or network state.
|
||||
/// </summary>
|
||||
internal sealed class WorldSelectionQuery : IWorldSelectionQuery
|
||||
internal sealed class WorldSelectionQuery
|
||||
: IWorldSelectionQuery,
|
||||
IRetainedUiSelectionQuery
|
||||
{
|
||||
private const uint LargeUseObjectFlags = 0x1000u | 0x4000u | 0x40000u | 0x2000u;
|
||||
private const uint StuckObjectFlag = 0x0004u;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue