mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 00:35:27 +00:00
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:
1410
dGame/Entity.cpp
1410
dGame/Entity.cpp
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user