PlayerMockUtils
Rx helpers over PlayerMock, split out so PlayerMock itself stays free of Nevermore dependencies (DI-less code like dummy-mode Remoting requires it directly).
Functions
observeMockedLocalPlayer
Observes the mock designated as the local player (see PlayerMock.setMockedLocalPlayer),
emitting the current designation on subscribe and again whenever it changes. This replaces
one-shot reading PlayerMock.getMockedLocalPlayer, which goes stale when a test designates
after the consumer initializes (designation is only required before bags Start, not before
Init). Like the getter, this only ever emits the mock -- the real Players.LocalPlayer
fallback stays an explicit read at the call site.
Re-designating from one mock to another emits nil in between: the designation is carried as a CollectionService tag on the mock, and the switch removes the old tag before adding the new one.