|
VR-Engage
2.3
|
This page covers the spectator overlay and module lifecycle in vreSpectatorFrontend. The observer state handles added to other spectator headers do not change their public or protected methods.
DtSpectatorOverlay::myPersistentNotification changed its protected type in vreSpectatorFrontend/spectatorOverlay.h:
Update derived overlays that access or replace this member. Include vrePlayerStation/vreHeaderFooterUI.h when calling methods on the new type. Code that stores the old pointer type cannot assign this member directly. DtSpectatorOverlay::isSpectator() keeps its signature, but now returns false for a minion application. Review overrides that decide whether to show the spectator overlay.
vreSpectatorFrontend/plugin.h adds the exported module shutdown entry point:
Call shutdown during application teardown to remove the spectator creators registered by initPlayerStationModule(makVre::DtPlayerStationApp*). The current frontend loader retains recognized plugin libraries until process exit. Do not assume that removing creators makes manual unloading safe. See Frontend plugin lifecycle.