-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ParentAnalyzer #155
Comments
An example of this would be |
It's for the engine. From an analyzer dev standpoint, they can of course mark by hand all the fields of Interest. But for the engine, how does it know what placed objects were resolved/interacted with to watch? For contextual analyzers resolving other records, this will do it #152 where when a user queries for a record, the engine knows to watch it for changes. But for a Cell/Worldspace/Other.. there's no link cache involved, the PlacedObjects are just nested underneath it on a list. How does the engine know when one was accessed or of interest? This would be an analyzer with any customizations needed to help facilitate that better ^ So complications of the the "additive" nature of placed objects, how do we mark what placed objects we're interested in, etc. These challenges would be chipped at by this more specialized patcher type. It might offer in its params the "complete" placed objects list, for ex, so the users dont need to build it themselves. Or other similar features. |
I see that changes couldn't be tracked via the link cache for nested records. But in case an analyzer accesses a certain nested record like placed objects under a cell, wouldn't it be possible to say Though what happens if we're starting off in some other record like Continuing the example from above, when we're checking faction records but require info from certain cells and the placed objects inside. Then we can maybe register with something like this: builder
.RegisterChange<IFactionGetter>(faction => faction.X)
.RegisterChange<ICellGetter>(cell => cell.Persistent) Changes in the factions are tracked as well as changes in the persistent placed objects in cells that were resolved via link cache. Let me know if this makes sense to you or if I'm not seeing your point! |
responded over in #153 |
For Cells/Worldspaces that want to analyze their contents, this would label the various subtypes they're interested in to help facilitate FieldsOfInterest calls
The text was updated successfully, but these errors were encountered: