refactor(entity): load an object in the client's two steps

Entity::Initialize now runs DoObjectPreLoad (what the components will be:
the player's own components, markedAsPhantom, model behaviors, the
component whitelist) and DoObjectComponentLoad (the walk in the client's
order and what the client adds after it), as ObjectLoader2 does, with an
ObjectLoadState that answers the registry through the whitelist. Same
components and bytes for every LOT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 16:52:15 -05:00
parent 432f4f6ff9
commit 477dd9f3e3
2 changed files with 735 additions and 697 deletions

File diff suppressed because it is too large Load Diff