VR-Engage  2.3
Loading...
Searching...
No Matches
vrePlayerStation Library API Changes

Breaking changes

Station identity and roles

DtPlayerStation::roles() was renamed to roleTypes(). Replace overrides and calls; the returned values are role-type keys. DtPlayerStationApp::engageStationId() now returns a string rather than an unsigned long. engageStationName() was removed; use the string station ID for station identity. Update any custom message payloads that still use numeric station IDs.

DtPlayerStationApp::createPlayerStation() without arguments was removed. Pass the entity identifier, role, and display layout to the remaining overload. Methods that find or destroy a station by entity and name now use a role name. Check calls to findPlayerStation() and destroyPlayerStation() accordingly. See vrePlayerStation/playerStationApp.h.

Application services and UI

DtPlayerStationApp::chatCommandManager() became chatManager(). Plugin loading methods such as pluginPath(), loadVreDll(), and loadPlugins() moved to DtVrePluginManager. Update code that calls these methods or overrides them. DtPlayerStationApp::statusListener() was removed. Read station status from App.vreStatus.stations and local status from App.vreStatus.local. The Player Station status publisher and listener headers were removed.

The loading and on-screen UI classes now use shared header, footer, and loading-page components. Review subclasses that replace Player Station screens or override their loading transitions. The related headers include vrePlayerStation/vreExternalLoadingPageLogic.h and vrePlayerStation/vreHeaderFooterUI.h.

Additions

DtPlayerStation::ownshipState() and DtPlayerComponent::ownshipState() return the ownship's attribute handle. DtPlayerComponent::setExtendedData() supplies the shared extended-data operation formerly on DtEntityControlLogic.

DtOwnershipTransferManager coordinates frontend acquire and divest policy. Register a custom manager before DtPlayerStationApp::initialize(). Access the active manager through DtPlayerStationApp::ownershipTransferManager(). See vrePlayerStation/ownershipTransferManager.h.