|
VR-Engage
2.2
|
Go to the source code of this file.
Namespaces | |
| namespace | makVre |
Functions | |
| PLAYERSTATEATTRIBUTE_DLL bool | initPlayerStationModule (makVre::DtPlayerStationApp *app) |
This header declares the plugin initialization function that VR-Engage calls when loading the plugin DLL. The function uses C linkage (extern "C") to prevent C++ name mangling and ensure VR-Engage can locate the function by name.
| PLAYERSTATEATTRIBUTE_DLL bool initPlayerStationModule | ( | makVre::DtPlayerStationApp * | app | ) |
Plugin initialization entry point for VR-Engage player station modules.
This function is called automatically by VR-Engage when the plugin DLL is loaded. It must be exported with C linkage (extern "C") to prevent C++ name mangling, which allows VR-Engage to locate the function by its exact name.
PATTERN: All VR-Engage player station plugins must export a function with this exact signature and name. The plugin system searches for "initPlayerStationModule" in loaded DLLs and calls it during plugin initialization.
| app | Pointer to the player station application instance. Used to access the component factory for registering custom components. |
REUSABLE: This header structure is identical for all VR-Engage player station plugins.
References PLAYERSTATEATTRIBUTE_DLL.