24class DtVirtualRealityDriver;
57 virtual void tick(
double dt)
override;
68 virtual const char*
type()
const override;
makVrv::DtVirtualRealityDriver * myVrDriver
Pointer to the VR driver used to control effects.
Definition vrObserverUpdater.h:88
bool myLastKnownAiming
Last known aiming state of the player.
Definition vrObserverUpdater.h:91
virtual const char * type() const override
Returns the component type identifier.
makVre::DtAttributeHandleType< double > myHealthAttr
Attribute handle storing the current health value of the player.
Definition vrObserverUpdater.h:107
virtual void tick(double dt) override
Updates VR visual effects for the current frame.
makVre::DtAttributeHandleType< bool > myVrEnabledAttr
Attribute handle indicating whether VR mode is enabled for the player.
Definition vrObserverUpdater.h:95
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the VR observer updater component.
virtual void setEffectEnabled(const std::string &effect, bool enabled)
Sets the enabled state of a named visual effect.
DtVrObserverUpdater()
Default constructor.
makVre::DtAttributeHandleType< makVre::Equipment > myCurrentEquipmentAttr
Attribute handle indicating the equipment the player currently has equipped.
Definition vrObserverUpdater.h:103
virtual void updateBloodSightEffects()
Updates blood sight effects based on player health.
virtual void updateAimingEffects()
Updates aiming-related visual effects.
makVre::DtAttributeHandleType< bool > myAimingAttr
Attribute handle tracking the current aiming state of the player.
Definition vrObserverUpdater.h:99
virtual ~DtVrObserverUpdater() override
Virtual destructor.
virtual void shutdown() override
Cleans up resources when the component is being shut down.
Type-specific handle class for attributes.
Definition attributeHandle.h:229
Table-based access to Lua state for configuration data.
Definition initializer.h:38
Base class for all role components in VR-Engage.
Definition playerComponent.h:102
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Defines export macros for the Human Frontend library.
#define HUMAN_DLL
Definition export.h:19
Definition appLauncherComponent.h:28
Defines the DtPlayerComponent base class for VR-Engage role components.
Common enumeration definitions used throughout the VREngage system.
constexpr const char * DtVrObserverUpdaterType
Type identifier constant for DtVrObserverUpdater components.
Definition vrObserverUpdater.h:32