Add door/vendor/motion hooks, auto-ID service, and int property caching

Adds engine-side support for door interaction (DoMotion, SmartBoxSetState,
physics state, bitfield reading), vendor open/close events, automatic
object identification service, int property appraisal caching, container
item counts, and property update hooks. Cleans up verbose inventory logging.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
tombohar 2026-04-14 20:24:46 -04:00
commit ccb08ecb4a
19 changed files with 1292 additions and 7 deletions

View file

@ -70,7 +70,10 @@ internal static class DeleteObjectHooks
private static int DeleteObjectDetour(IntPtr thisPtr, uint objectId)
{
if (objectId != 0)
{
PluginManager.QueueDeleteObject(objectId);
AutoIdService.Evict(objectId);
}
return _originalDeleteObject!(thisPtr, objectId);
}