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

This page covers process-state repositories and simulation-object helpers in vreVrfobjcore.

Breaking changes

Removed legacy helpers

vreEmbeddedEntityInfoManager.h and vreDiGuyIntrinsicAnimationMap.h were removed. Remove direct includes and subclasses of DtVreEmbeddedEntityInfoManager and DtVreDiGuyIntrinsicAnimationMap. Embedded-entity ownership handoff now has a separate handler in vreVrfmodel/embeddedEntityOwnershipTransferHandler.h; it does not replace the deleted information-manager API.

Player-control lookup signature

vrfObjectStateRepositoryUtil.h now declares bool isPlayerControlledAs(const DtSimObject& stateRep, const std::string& roleType) instead of taking std::string by value. Ordinary calls still compile. Update function pointers or exact-signature wrappers; use a case-sensitive role type such as Driver, not a station ID.

Additions

Launcher targeting state

topAndDirectLauncherPSR.h adds setLauncherTargetMode(const DtString&) and DtString launcherTargetMode() const. It also adds setLauncherFireAndForget(bool) and bool launcherFireAndForget() const. Use these accessors when saving or restoring the launcher's targeting options.