fix: complete retail parity stability pass
This commit is contained in:
parent
d3df4cb20a
commit
f7aa8e0eb7
131 changed files with 7765 additions and 1190 deletions
|
|
@ -28,12 +28,13 @@ internal static class LiveEntityTestFixture
|
|||
WorldSession.EntitySpawn spawn,
|
||||
Func<uint, WorldEntity>? factory = null,
|
||||
LiveEntityProjectionKind projectionKind = LiveEntityProjectionKind.World,
|
||||
Action<LiveEntityRecord>? initializeProjection = null)
|
||||
Action<LiveEntityRecord>? initializeProjection = null,
|
||||
bool isLocalPlayer = false)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(runtime);
|
||||
|
||||
LiveEntityRegistrationResult registration =
|
||||
runtime.RegisterLiveEntity(spawn);
|
||||
runtime.RegisterLiveEntity(spawn, isLocalPlayer);
|
||||
RuntimeEntityRecord canonical = registration.Canonical
|
||||
?? throw new InvalidOperationException(
|
||||
"The fixture cannot materialize a stale CreateObject.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue