69 virtual void tick(
double dt)
override;
78 virtual const char*
type()
const override;
virtual void tick(double dt) override
Updates the component state (empty implementation)
virtual bool initialize(DtPlayerStation *player, DtInitTable &config) override
Initializes the component with configuration from Lua.
virtual const char * type() const override
Returns the type identifier for this component.
virtual bool postInitialize() override
Performs post-initialization setup.
DtVreMessageResult handleFriendlyUnitsMessage(DtVreMessage *msg)
Handles messages about friendly units.
DtFriendlyUnitsLogic()
Constructor for DtFriendlyUnitsLogic.
virtual ~DtFriendlyUnitsLogic() override
Virtual destructor for DtFriendlyUnitsLogic.
virtual void shutdown() override
Shuts down the component.
virtual void initializeStateAttributes() override
Initializes state attributes (empty implementation)
Table-based access to Lua state for configuration data.
Definition initializer.h:38
virtual DtPlayerStation & player()
Gets the player station.
DtPlayerComponent()
Constructor.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Defines export/import macros for the vreCommonComponents library.
#define VRECOMMONCOMPONENTS_DLL
DLL export/import macro for the vreCommonComponents library.
Definition export.h:28
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
constexpr const char * DtFriendlyUnitsLogicType
Type identifier for DtFriendlyUnitsLogic component.
Definition friendlyUnitLogic.h:26
DtVreMessageResult
Enumeration of possible message handling results.
Definition vreMessage.h:33
Defines the DtPlayerComponent base class for VR-Engage role components.
Defines the base class for all VREngage messages.